NCBI C++ ToolKit
Static Public Member Functions | List of all members
CPowerOfTwoResizeStrategy Class Reference

Search Toolkit Book for CPowerOfTwoResizeStrategy

#include <util/simple_buffer.hpp>

Static Public Member Functions

static size_t GetNewCapacity (size_t, size_t required_size)
 

Detailed Description

Definition at line 63 of file simple_buffer.hpp.

Member Function Documentation

◆ GetNewCapacity()

static size_t CPowerOfTwoResizeStrategy::GetNewCapacity ( size_t  ,
size_t  required_size 
)
inlinestatic

Definition at line 66 of file simple_buffer.hpp.

References max().


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:22 2024 by modify_doxy.py rev. 669887