c++boost.gif (8819 bytes)
Main Page   File List   File Members  

first_n.hpp File Reference


Defines

#define BOOST_PP_LIST_FIRST_N(N, L)
 Expands to a list of the first N elements of the list. More...


Detailed Description

Click here to see the header.


Define Documentation

#define BOOST_PP_LIST_FIRST_N N,
 
 

Expands to a list of the first N elements of the list.

For example,

  BOOST_PP_LIST_FIRST_N(2,BOOST_PP_TUPLE_TO_LIST(4,(+,-,*,/)))

expands to a list containing + and -.


© Copyright Housemarque Oy 2001

Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.

Generated: