Function resize

Synopsis

#include <src/entt/meta/meta.hpp>

bool resize(const size_type)

Description

Resizes a container to contain a given number of elements.

Parameters

sz - The new size of the container.

Returns
True in case of success, false otherwise.

Mentioned in

Source

Lines 1624-1626 in src/entt/meta/meta.hpp. Line 58 in src/entt/meta/meta.hpp.

inline bool meta_sequence_container::resize(const size_type sz) {
    return resize_fn(storage, sz);
}





Add Discussion

Log in to comment