mirror of
https://github.com/boostorg/container.git
synced 2025-08-01 13:34:30 +02:00
Fixes GitHub #82: "Function definition in header file".
This commit is contained in:
@@ -1248,6 +1248,9 @@ use [*Boost.Container]? There are several reasons for that:
|
||||
|
||||
* Fixed serious bug in heterogeneous lookup functions (is_transparent was broken).
|
||||
|
||||
* Fixed bugs:
|
||||
* [@https://github.com/boostorg/container/issues/82 GitHub #82: ['"Function definition in header file"]].
|
||||
|
||||
[endsect]
|
||||
|
||||
[section:release_notes_boost_1_68_00 Boost 1.68 Release]
|
||||
|
@@ -363,16 +363,16 @@ struct candidate_power_of_2_ct
|
||||
// candidate_power_of_2_rt
|
||||
//
|
||||
/////////////////////////////////////////////
|
||||
void candidate_power_of_2_rt ( std::size_t initial_alignment
|
||||
, std::size_t real_node_size
|
||||
, std::size_t payload_per_allocation
|
||||
, std::size_t min_elements_per_block
|
||||
, std::size_t hdr_size
|
||||
, std::size_t hdr_offset_size
|
||||
, std::size_t overhead_percent
|
||||
, std::size_t &alignment
|
||||
, std::size_t &num_subblocks
|
||||
, std::size_t &real_num_node)
|
||||
inline void candidate_power_of_2_rt ( std::size_t initial_alignment
|
||||
, std::size_t real_node_size
|
||||
, std::size_t payload_per_allocation
|
||||
, std::size_t min_elements_per_block
|
||||
, std::size_t hdr_size
|
||||
, std::size_t hdr_offset_size
|
||||
, std::size_t overhead_percent
|
||||
, std::size_t &alignment
|
||||
, std::size_t &num_subblocks
|
||||
, std::size_t &real_num_node)
|
||||
{
|
||||
bool overhead_satisfied = false;
|
||||
std::size_t num_b_subblock = 0;
|
||||
|
Reference in New Issue
Block a user