One of the containers introduced within TR1 (which is already widely available – both in gcc and Visual Studio) is a Tuple type, which is adopted from The Boost Tuple Library. Tuple types are very convenient at times; For example, it is possible to return multipe values from a function through a tuple, or write [...]
Archive for the ‘tr1’ Category
Tuples
Posted in tr1 on 15/01/2010 | Leave a Comment »
Search
-
Recent posts
- Variadic macro to count number of arguments
- Futures: asynchronous invocation
- Odd man out
- Quines
- Catching uncaught exceptions within terminate
- Escaping overloaded operators
- Metalists for fun and profit
- Compile time primality test
- A question of memory layout
- Tuples
- Memoization
- Tag dispatching
- The omnipotent arrow operator
- Interesting boost::shared_ptr constructor
- Project Euler
-
Recent comments
Categories
- cpp (54)
- algorithms (3)
- boost (2)
- concurrency (1)
- design (4)
- erroneous (3)
- mechanisms (12)
- meta (5)
- questions (5)
- snippets (5)
- stl (3)
- tr1 (1)
- techniques (5)
- tricks (6)
- general (1)
- puzzles (1)
- cpp (54)
Archives
Options
Blogs
Professional
Technology