contract.hpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef BOOST_CONTRACT_HPP_
  2. #define BOOST_CONTRACT_HPP_
  3. // Copyright (C) 2008-2018 Lorenzo Caminiti
  4. // Distributed under the Boost Software License, Version 1.0 (see accompanying
  5. // file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
  6. // See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
  7. /** @file
  8. Include all header files required by this library at once (for convenience).
  9. All header files <c>boost/contract/\*.hpp</c> are independent from one another
  10. and can be included one-by-one to reduce the amount of code to compile from this
  11. library in user code (but this was measured to not make an appreciable
  12. difference in compile-time so <c>boost/contract.hpp</c> can be included directly
  13. in most cases).
  14. Instead the headers <c>boost/contract/core/\*.hpp</c> are not independent from
  15. other library headers and they are automatically included by the
  16. <c>boost/contract/\*.hpp</c> headers (so the <c>boost/contract/core/\*.hpp</c>
  17. headers are usually not directly included by programmers).
  18. All files under the <c>boost/contract/detail/</c> directory, names within the
  19. @c boost::contract::detail namespace, names prefixed by
  20. @c boost_contract_detail... and @c BOOST_CONTRACT_DETAIL... (in any namesapce,
  21. including user's code) are reserved for internal use of this library and should
  22. never be used directly by programmers.
  23. @see @RefSect{getting_started, Getting Started}
  24. */
  25. #include <boost/contract/assert.hpp>
  26. #include <boost/contract/base_types.hpp>
  27. #include <boost/contract/call_if.hpp>
  28. #include <boost/contract/constructor.hpp>
  29. #include <boost/contract/destructor.hpp>
  30. #include <boost/contract/function.hpp>
  31. #include <boost/contract/check.hpp>
  32. #include <boost/contract/old.hpp>
  33. #include <boost/contract/override.hpp>
  34. #include <boost/contract/public_function.hpp>
  35. #endif // #include guard