src/static_request_head.cpp
100.0% Lines (15/15)
100.0% List of functions (4/4)
-% Branches (0/0)
Functions (4)
Function
Calls
Lines
Blocks
boost::burl::static_request_head::static_request_head(char*, unsigned long)
:18
14x
100.0%
100.0%
boost::burl::static_request_head::static_request_head(boost::burl::static_request_head&&)
:27
1x
100.0%
100.0%
boost::burl::static_request_head::operator=(boost::burl::request_head_base const&)
:35
8x
100.0%
100.0%
boost::burl::static_request_head::operator=(boost::burl::static_request_head const&)
:43
3x
100.0%
100.0%
| Line | TLA | Hits | Source Code |
|---|---|---|---|
| 1 | // | ||
| 2 | // Copyright (c) 2021 Vinnie Falco ([email protected]) | ||
| 3 | // Copyright (c) 2026 Mohammad Nejati | ||
| 4 | // | ||
| 5 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
| 6 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
| 7 | // | ||
| 8 | // Official repository: https://github.com/cppalliance/burl | ||
| 9 | // | ||
| 10 | |||
| 11 | #include <boost/burl/static_request_head.hpp> | ||
| 12 | |||
| 13 | namespace boost | ||
| 14 | { | ||
| 15 | namespace burl | ||
| 16 | { | ||
| 17 | |||
| 18 | 14x | static_request_head:: | |
| 19 | static_request_head( | ||
| 20 | char* storage, | ||
| 21 | 14x | std::size_t n) | |
| 22 | 14x | : request_head_base() | |
| 23 | { | ||
| 24 | 14x | init_static_(storage, n); | |
| 25 | 13x | } | |
| 26 | |||
| 27 | 1x | static_request_head:: | |
| 28 | 1x | static_request_head(static_request_head&& other) noexcept | |
| 29 | 1x | : request_head_base() | |
| 30 | { | ||
| 31 | 1x | swap_(other); | |
| 32 | 1x | } | |
| 33 | |||
| 34 | static_request_head& | ||
| 35 | 8x | static_request_head:: | |
| 36 | operator=(request_head_base const& other) | ||
| 37 | { | ||
| 38 | 8x | request_head_base::operator=(other); | |
| 39 | 5x | return *this; | |
| 40 | } | ||
| 41 | |||
| 42 | static_request_head& | ||
| 43 | 3x | static_request_head:: | |
| 44 | operator=(static_request_head const& other) | ||
| 45 | { | ||
| 46 | 3x | return *this = static_cast<request_head_base const&>(other); | |
| 47 | } | ||
| 48 | |||
| 49 | } // namespace burl | ||
| 50 | } // namespace boost | ||
| 51 |