sprint 1-alpha
Classes | Namespaces | Functions
sprint/container/tuple.h File Reference

an extension of std::pair to multiple dimensions More...

Go to the source code of this file.

Classes

struct  sprint::tuple1< P1 >
 a tuple, representing 1 ordered elements More...
struct  sprint::tuple2< P1, P2 >
 a tuple, representing 2 ordered elements More...
struct  sprint::tuple3< P1, P2, P3 >
 a tuple, representing 3 ordered elements More...
struct  sprint::tuple4< P1, P2, P3, P4 >
 a tuple, representing 4 ordered elements More...
struct  sprint::tuple5< P1, P2, P3, P4, P5 >
 a tuple, representing 5 ordered elements More...
struct  sprint::tuple6< P1, P2, P3, P4, P5, P6 >
 a tuple, representing 6 ordered elements More...
struct  sprint::tuple7< P1, P2, P3, P4, P5, P6, P7 >
 a tuple, representing 7 ordered elements More...
struct  sprint::tuple8< P1, P2, P3, P4, P5, P6, P7, P8 >
 a tuple, representing 8 ordered elements More...
struct  sprint::tuple9< P1, P2, P3, P4, P5, P6, P7, P8, P9 >
 a tuple, representing 9 ordered elements More...
struct  sprint::tuple10< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >
 a tuple, representing 10 ordered elements More...
struct  sprint::tuple11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >
 a tuple, representing 11 ordered elements More...
struct  sprint::tuple12< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >
 a tuple, representing 12 ordered elements More...

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Functions

template<class P1 >
tuple1< P1 > sprint::make_tuple (const P1 &p1)
template<class P1 , class P2 >
tuple2< P1, P2 > sprint::make_tuple (const P1 &p1, const P2 &p2)
template<class P1 , class P2 , class P3 >
tuple3< P1, P2, P3 > sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3)
template<class P1 , class P2 , class P3 , class P4 >
tuple4< P1, P2, P3, P4 > sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4)
template<class P1 , class P2 , class P3 , class P4 , class P5 >
tuple5< P1, P2, P3, P4, P5 > sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
tuple6< P1, P2, P3, P4, P5, P6 > sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 >
tuple7< P1, P2, P3, P4, P5, P6,
P7 > 
sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 >
tuple8< P1, P2, P3, P4, P5, P6,
P7, P8 > 
sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 >
tuple9< P1, P2, P3, P4, P5, P6,
P7, P8, P9 > 
sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 >
tuple10< P1, P2, P3, P4, P5,
P6, P7, P8, P9, P10 > 
sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9, const P10 &p10)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 >
tuple11< P1, P2, P3, P4, P5,
P6, P7, P8, P9, P10, P11 > 
sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9, const P10 &p10, const P11 &p11)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 >
tuple12< P1, P2, P3, P4, P5,
P6, P7, P8, P9, P10, P11, P12 > 
sprint::make_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9, const P10 &p10, const P11 &p11, const P12 &p12)
template<class P1 >
tuple1< P1 > * sprint::new_tuple (const P1 &p1)
template<class P1 , class P2 >
tuple2< P1, P2 > * sprint::new_tuple (const P1 &p1, const P2 &p2)
template<class P1 , class P2 , class P3 >
tuple3< P1, P2, P3 > * sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3)
template<class P1 , class P2 , class P3 , class P4 >
tuple4< P1, P2, P3, P4 > * sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4)
template<class P1 , class P2 , class P3 , class P4 , class P5 >
tuple5< P1, P2, P3, P4, P5 > * sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
tuple6< P1, P2, P3, P4, P5, P6 > * sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 >
tuple7< P1, P2, P3, P4, P5, P6,
P7 > * 
sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 >
tuple8< P1, P2, P3, P4, P5, P6,
P7, P8 > * 
sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 >
tuple9< P1, P2, P3, P4, P5, P6,
P7, P8, P9 > * 
sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 >
tuple10< P1, P2, P3, P4, P5,
P6, P7, P8, P9, P10 > * 
sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9, const P10 &p10)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 >
tuple11< P1, P2, P3, P4, P5,
P6, P7, P8, P9, P10, P11 > * 
sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9, const P10 &p10, const P11 &p11)
template<class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 >
tuple12< P1, P2, P3, P4, P5,
P6, P7, P8, P9, P10, P11, P12 > * 
sprint::new_tuple (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5, const P6 &p6, const P7 &p7, const P8 &p8, const P9 &p9, const P10 &p10, const P11 &p11, const P12 &p12)

Detailed Description

an extension of std::pair to multiple dimensions

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines