nonesuch.qbk 582 B

1234567891011121314151617181920212223
  1. [/
  2. Copyright 2018 Glen Joseph Fernandes
  3. (glenjofe@gmail.com)
  4. Distributed under the Boost Software License,
  5. Version 1.0. (See accompanying file LICENSE_1_0.txt
  6. or copy at http://www.boost.org/LICENSE_1_0.txt).
  7. ]
  8. [section:nonesuch nonesuch]
  9. struct nonesuch {
  10. nonesuch() = delete;
  11. ~nonesuch() = delete;
  12. nonesuch(const nonesuch&) = delete;
  13. void operator=(const nonesuch&) = delete;
  14. };
  15. __header `#include <boost/type_traits/nonesuch.hpp>`
  16. Type `nonesuch` is a placeholder type used when the detection idiom fails - see __detected.
  17. [endsect]