Main Page | Modules | Namespace List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

stdpp.h File Reference

#include <iostream>
#include <utility>

Include dependency graph for stdpp.h:

Go to the source code of this file.

Namespaces

namespace  tag

Functions

template<class A, class B>
Internal::refpair< A, B > rpair (A &aa, B &bb)

Variables

Internal::add_fill_s add_fill
Internal::like_print_s print
Internal::no_space_s no_space


Function Documentation

template<class A, class B>
Internal::refpair<A,B> rpair A &  aa,
B &  bb
 

Similar to std::make_pair, but for references. This can be used for multiple return values:

float f;
int i;
rpair(f,i) = make_pair(2.2f, 1);
Parameters:
aa first value
bb second value


Generated on Wed Aug 8 14:30:36 2007 for TooN Algorithm Library - tag by  doxygen 1.3.9.1