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 an old version of boost. Click here for the latest version's documentation home page.
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