Drake
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:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...