decomposing_func.qbk 565 B

1234567891011121314151617181920
  1. [/
  2. Copyright 2007 John Maddock.
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt).
  6. ]
  7. [section:function Decomposing Function Types]
  8. The class template __function_traits extracts information from function types
  9. (see also __is_function). This traits class allows you to tell how many arguments
  10. a function takes, what those argument types are, and what the return type is.
  11. [*Synopsis]
  12. template <std::size_t Align>
  13. struct __function_traits;
  14. [endsect]