List of all members
boost::has_trivial_destructor_after_move< T > Struct Template Reference

#include <traits.hpp>

Inheritance diagram for boost::has_trivial_destructor_after_move< T >:
Inheritance graph
[legend]

Additional Inherited Members

- Static Public Attributes inherited from boost::move_detail::is_trivially_destructible< T >
static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T)
 

Detailed Description

template<class T>
struct boost::has_trivial_destructor_after_move< T >

If this trait yields to true (has_trivial_destructor_after_move <T>value == true) means that if T is used as argument of a move construction/assignment, there is no need to call T's destructor. This optimization tipically is used to improve containers' performance.

By default this trait is true if the type has trivial destructor, every class should specialize this trait if it wants to improve performance when inserted in containers.

Definition at line 45 of file traits.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:33