Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function get

boost::type_erasure::get

Synopsis

// In header: <boost/type_erasure/tuple.hpp>


template<int N, typename Concept, class... T> 
  any< Concept, TN > & get(tuple< Concept, T... > & arg);
template<int N, typename Concept, class... T> 
  const any< Concept, TN > & get(const tuple< Concept, T... > & arg);

Description

Returns the Nth any in the tuple.


PrevUpHomeNext