Drake
Drake C++ Documentation
is_memcpy_movable.h File Reference
#include <cstdlib>
#include <cstring>
#include <functional>
#include <memory>
#include <type_traits>
Include dependency graph for is_memcpy_movable.h:

Namespaces

 drake
 
 drake::test
 

Functions

template<typename T , typename InvariantPred = std::equal_to<T>>
bool IsMemcpyMovable (const T &value, const InvariantPred &invariant_pred=InvariantPred())
 Checks if value of T type is movable via memcpy. More...