File Coverage

/usr/local/lib/perl5/site_perl/5.26.1/XS/libboost/mini.x/i/boost/container/detail/placement_new.hpp
Criterion Covered Total %
statement 2 4 50.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             #ifndef BOOST_CONTAINER_DETAIL_PLACEMENT_NEW_HPP
2             #define BOOST_CONTAINER_DETAIL_PLACEMENT_NEW_HPP
3             ///////////////////////////////////////////////////////////////////////////////
4             //
5             // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost
6             // Software License, Version 1.0. (See accompanying file
7             // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8             //
9             // See http://www.boost.org/libs/container for documentation.
10             //
11             ///////////////////////////////////////////////////////////////////////////////
12              
13             #ifndef BOOST_CONFIG_HPP
14             # include
15             #endif
16              
17             #if defined(BOOST_HAS_PRAGMA_ONCE)
18             # pragma once
19             #endif
20              
21             struct boost_container_new_t{};
22              
23             //avoid including
24 12           inline void *operator new(std::size_t, void *p, boost_container_new_t)
25 12           { return p; }
26              
27 0           inline void operator delete(void *, void *, boost_container_new_t)
28 0           {}
29              
30             #endif //BOOST_CONTAINER_DETAIL_PLACEMENT_NEW_HPP