• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 //  (C) Copyright Edward Diener 2011-2015
3 //  Use, modification and distribution are subject to the Boost Software License,
4 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 //  http://www.boost.org/LICENSE_1_0.txt).
6 
7 #include <boost/vmd/assert.hpp>
8 #include <boost/vmd/is_number.hpp>
9 #include <boost/detail/lightweight_test.hpp>
10 #include <boost/preprocessor/list/at.hpp>
11 
main()12 int main()
13   {
14 
15 #if BOOST_PP_VARIADICS
16 
17   #define A_LIST (eeb,(grist,(152,BOOST_PP_NIL)))
18 
19   BOOST_VMD_ASSERT(BOOST_VMD_IS_NUMBER(BOOST_PP_LIST_AT(A_LIST,1)),BOOST_VMD_TEST_FAIL_IS_NUMBER)
20 
21 #endif
22 
23   return boost::report_errors();
24 
25   }
26