empty.hpp 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // (C) Copyright Edward Diener 2011-2015
  2. // Use, modification and distribution are subject to the Boost Software License,
  3. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt).
  5. #if !defined(BOOST_VMD_EMPTY_HPP)
  6. #define BOOST_VMD_EMPTY_HPP
  7. #include <boost/vmd/detail/setup.hpp>
  8. #if BOOST_PP_VARIADICS
  9. /*
  10. The succeeding comments in this file are in doxygen format.
  11. */
  12. /** \file
  13. */
  14. /** \def BOOST_VMD_EMPTY(...)
  15. \brief Outputs emptiness.
  16. ... = any variadic parameters. The parameters are ignored.
  17. This macro is used to output emptiness ( nothing ) no matter
  18. what is passed to it.
  19. If you use this macro to return a result, as in 'result BOOST_VMD_EMPTY'
  20. subsequently invoked, you should surround the result with
  21. BOOST_VMD_IDENTITY_RESULT to smooth over a VC++ problem.
  22. */
  23. #define BOOST_VMD_EMPTY(...)
  24. #endif /* BOOST_PP_VARIADICS */
  25. #endif /* BOOST_VMD_EMPTY_HPP */