]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_no_cxx17_hdr_charconv.ipp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_cxx17_hdr_charconv.ipp
1 // (C) Copyright John Maddock 2020
2
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7 // See http://www.boost.org/libs/config for more information.
8
9 // MACRO: BOOST_NO_CXX17_HDR_CHARCONV
10 // TITLE: C++17 header <charconv> unavailable
11 // DESCRIPTION: The standard library does not supply C++17 header <charconv>
12
13 #include <charconv>
14
15 namespace boost_no_cxx17_hdr_charconv {
16
17 int test()
18 {
19 using std::chars_format;
20 using std::to_chars_result;
21 using std::to_chars;
22 using std::from_chars_result;
23 using std::from_chars;
24 return 0;
25 }
26
27 }