Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::detail::function::function_allows_small_object_optimization< F > Struct Template Reference

Determine if boost::function can use the small-object optimization with the function object type F. More...

#include <function_base.hpp>

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, value=((sizeof(F)<=sizeof(function_buffer)&&(alignment_of< function_buffer >::value%alignment_of< F >::value==0))))
 

Detailed Description

template<typename F>
struct boost::detail::function::function_allows_small_object_optimization< F >

Determine if boost::function can use the small-object optimization with the function object type F.

Member Function Documentation

template<typename F >
boost::detail::function::function_allows_small_object_optimization< F >::BOOST_STATIC_CONSTANT ( bool  ,
value  = ((sizeof(F)<=sizeof(function_buffer)&&(alignment_offunction_buffer >::value%alignment_of< F >::value==0))) 
)

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