|
||||
File indexing completed on 2025-01-18 09:53:38
0001 0002 // (C) Copyright Edward Diener 2011-2015 0003 // Use, modification and distribution are subject to the Boost Software License, 0004 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 0005 // http://www.boost.org/LICENSE_1_0.txt). 0006 0007 #if !defined(BOOST_VMD_SIZE_HPP) 0008 #define BOOST_VMD_SIZE_HPP 0009 0010 #include <boost/vmd/detail/setup.hpp> 0011 0012 #if BOOST_PP_VARIADICS 0013 0014 #include <boost/vmd/detail/sequence_size.hpp> 0015 0016 /* 0017 0018 The succeeding comments in this file are in doxygen format. 0019 0020 */ 0021 0022 /** \file 0023 */ 0024 0025 /** \def BOOST_VMD_SIZE(sequence) 0026 0027 \brief Returns the size of a sequence. 0028 0029 sequence = A sequence to test. 0030 0031 returns = If the sequence is empty returns 0, else returns the number of elements 0032 in the sequence. 0033 0034 */ 0035 0036 #define BOOST_VMD_SIZE(sequence) \ 0037 BOOST_VMD_DETAIL_SEQUENCE_SIZE(sequence) \ 0038 /**/ 0039 0040 /** \def BOOST_VMD_SIZE_D(d,sequence) 0041 0042 \brief Returns the size of a sequence. Re-entrant version. 0043 0044 d = The next available BOOST_PP_WHILE iteration. <br/> 0045 sequence = A sequence to test. 0046 0047 returns = If the sequence is empty returns 0, else returns the number of elements 0048 in the sequence. 0049 0050 */ 0051 0052 #define BOOST_VMD_SIZE_D(d,sequence) \ 0053 BOOST_VMD_DETAIL_SEQUENCE_SIZE_D(d,sequence) \ 0054 /**/ 0055 0056 #endif /* BOOST_PP_VARIADICS */ 0057 #endif /* BOOST_VMD_SIZE_HPP */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |