Language
Compiler
Options
$
//print( p ), p is luple< std::string, int >
luple( 2 ): John, 1
---
//print( v ), v is luple_t< vec4_tlist >
luple( 4 ): 1, 1
---
//print_types( v )
Type names: f, f, f, f,
---
//data mutation, print( p )
luple( 2 ): Ivan, 10
---
//luple properties
luple size = 2, index of std::string = 0
---
//luple_ns::element_t< person_t, 0 >
Hello World!
---
//luple_do( p, lambda )
0) Ivan; 1) 10;
---
//comparing person[0] < person[1]
[ John, 1 ] < [ John, 2 ] = 1
swap( d[0], d[1] )
[ John, 2 ] < [ John, 1 ] = 0
---
//as_luple and converting construction
Hello World
Exit Code:
0