STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
stapl::runtime::is_movable< T > Struct Template Reference

Typedefs member type to std::true_type if T is a movable type, otherwise it typedefs it to std::false_type. More...

Detailed Description

template<typename T>
struct stapl::runtime::is_movable< T >

Typedefs member type to std::true_type if T is a movable type, otherwise it typedefs it to std::false_type.

A movable type is not the same as a move constructible type. Movable types are types that there is benefit in moving them when communicating in the same address space and they do not introduce race-conditions.

As such, basic or trivial types, types with an implicitly or explicitly deleted move constructor or types that have a pointer to a p_object are not considered movable.


The documentation for this struct was generated from the following file: