Default operations on all containers for conversion from Python container to C++ one. More...
#include <pyconversions.h>
Static Public Member Functions | |
template<typename ContainerType > | |
static void | assert_size (boost::type< ContainerType >, std::size_t) |
static bool | check_convertibility_per_element () |
template<typename ContainerType > | |
static bool | check_size (boost::type< ContainerType >, std::size_t) |
template<typename ContainerType > | |
static void | reserve (ContainerType &a, std::size_t) |
Default operations on all containers for conversion from Python container to C++ one.
Copied from scitbx/include/scitbx/boost_python/container_conversions.h that is described in the Boost.Python FAQ.
Definition at line 90 of file pyconversions.h.
static void assert_size | ( | boost::type< ContainerType > | , |
std::size_t | |||
) | [inline, static] |
Definition at line 102 of file pyconversions.h.
static bool check_convertibility_per_element | ( | ) | [inline, static] |
Definition at line 92 of file pyconversions.h.
static bool check_size | ( | boost::type< ContainerType > | , |
std::size_t | |||
) | [inline, static] |
Definition at line 95 of file pyconversions.h.
static void reserve | ( | ContainerType & | a, |
std::size_t | |||
) | [inline, static] |
Reimplemented in variable_capacity_policy.
Definition at line 105 of file pyconversions.h.
Referenced by variable_capacity_policy::reserve().