1  
//
1  
//
2  
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
2  
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
3  
//
3  
//
4  
// Distributed under the Boost Software License, Version 1.0. (See accompanying
4  
// Distributed under the Boost Software License, Version 1.0. (See accompanying
5  
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5  
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6  
//
6  
//
7  
// Official repository: https://github.com/boostorg/json
7  
// Official repository: https://github.com/boostorg/json
8  
//
8  
//
9  

9  

10  
#ifndef BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP
10  
#ifndef BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP
11  
#define BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP
11  
#define BOOST_JSON_DETAIL_IMPL_SHARED_RESOURCE_IPP
12  

12  

13  
#include <boost/json/detail/shared_resource.hpp>
13  
#include <boost/json/detail/shared_resource.hpp>
14  

14  

15  
namespace boost {
15  
namespace boost {
16  
namespace json {
16  
namespace json {
17  
namespace detail {
17  
namespace detail {
18  

18  

19  
// these are here so that ~memory_resource
19  
// these are here so that ~memory_resource
20  
// is emitted in the library instead of
20  
// is emitted in the library instead of
21  
// the user's TU.
21  
// the user's TU.
22  

22  

23  
shared_resource::
23  
shared_resource::
24  
shared_resource()
24  
shared_resource()
25  
{
25  
{
26  
}
26  
}
27  

27  

28  
shared_resource::
28  
shared_resource::
29  
~shared_resource()
29  
~shared_resource()
30  
{
30  
{
31  
}
31  
}
32  

32  

33  
} // detail
33  
} // detail
34  
} // namespace json
34  
} // namespace json
35  
} // namespace boost
35  
} // namespace boost
36  

36  

37  
#endif
37  
#endif