Boost C++ Libraries Boost.Bimap Home Libraries People FAQ More

PrevUpHomeNext

data_with_functor_bag Struct Template Reference

EBO optimizacion helper for functors. More...

#include <functor_bag.hpp>

Inheritance diagram for data_with_functor_bag:

Inheritance graph
List of all members.

Public Member Functions

 data_with_functor_bag (BOOST_DEDUCED_TYPENAME add_reference< Data >::type const d)
 data_with_functor_bag ()
template<class Functor>
const Functor & functor () const
template<class Functor>
Functor & functor ()

Public Attributes

Data data

Detailed Description

template<class Data, class FunctorList>
struct boost::bimaps::container_adaptor::detail::data_with_functor_bag< Data, FunctorList >

EBO optimizacion helper for functors.

This class is a generalization of a helper class explained in an article by Nathan C. Myers.
See it at http://www.cantrip.org/emptyopt.html

Definition at line 52 of file functor_bag.hpp.


The documentation for this struct was generated from the following file:
Copyright 2006 Matias Capeletto

PrevUpHomeNext