35 #ifndef MADNESS_WORLD_MOVE_H__INCLUDED
36 #define MADNESS_WORLD_MOVE_H__INCLUDED
73 T&
get()
const {
return *t_; }
101 template <
typename T>
110 template <
typename T>
118 template <
typename T>
126 template <
typename T>
131 #endif // MADNESS_WORLD_MOVE_H__INCLUDED
MoveWrapper< T > & operator=(const MoveWrapper< T > &other)
Assignment operator.
Definition: move.h:65
T & unwrap_move(const detail::MoveWrapper< T > &t)
Remove move wrapper from a movable object.
Definition: move.h:119
MoveWrapper(const MoveWrapper< T > &other)
Copy constructor.
Definition: move.h:59
bool_constant< true > true_type
Definition: gtest-port.h:1618
disable_if from Boost for conditionally instantiating templates based on type
Definition: enable_if.h:78
bool_constant< false > false_type
Definition: gtest-port.h:1617
Type trait for movable objects.
Definition: move.h:85
const T1 &f1 return GTEST_2_TUPLE_() T(f0, f1)
Wrapper for movable objects.
Definition: move.h:47
detail::MoveWrapper< T > move(T &t)
Move wrapper factory function.
Definition: move.h:102
T & get() const
Get the wrapped object reference.
Definition: move.h:73
MoveWrapper(T &t)
Constructor.
Definition: move.h:54
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
Definition: chem/atomutil.cc:45
T * get_pointer() const
Get the wrapped object pointer.
Definition: move.h:78