boost::foreach_detail_::rvalue_probe< T > Struct Template Reference

#include <foreach.hpp>

Collaboration diagram for boost::foreach_detail_::rvalue_probe< T >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef BOOST_DEDUCED_TYPENAME
boost::mpl::if_
< boost::is_array< T >, int, T >
::type 
value_type

Public Member Functions

 rvalue_probe (T &t, bool &b)
 operator value_type ()
 operator T & () const

Private Attributes

T & value
bool & is_rvalue


Detailed Description

template<typename T>
struct boost::foreach_detail_::rvalue_probe< T >

Definition at line 372 of file foreach.hpp.


Member Typedef Documentation

template<typename T>
typedef BOOST_DEDUCED_TYPENAME boost::mpl::if_<boost::is_array<T>, int, T>::type boost::foreach_detail_::rvalue_probe< T >::value_type

Definition at line 381 of file foreach.hpp.


Constructor & Destructor Documentation

template<typename T>
boost::foreach_detail_::rvalue_probe< T >::rvalue_probe ( T &  t,
bool &  b 
) [inline]

Definition at line 374 of file foreach.hpp.


Member Function Documentation

template<typename T>
boost::foreach_detail_::rvalue_probe< T >::operator value_type (  )  [inline]

template<typename T>
boost::foreach_detail_::rvalue_probe< T >::operator T & (  )  const [inline]

Definition at line 388 of file foreach.hpp.

References boost::foreach_detail_::rvalue_probe< T >::value.


Member Data Documentation

template<typename T>
T& boost::foreach_detail_::rvalue_probe< T >::value [private]

template<typename T>
bool& boost::foreach_detail_::rvalue_probe< T >::is_rvalue [private]


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs