载入中...
搜索中...
未找到
eve::container::Capacity类 参考

Non-negative capacity measured in membership slots. 更多...

#include <Container.h>

Public 成员函数

constexpr bool isUnlimited () const noexcept
 
constexpr std::size_t value () const noexcept
 

静态 Public 成员函数

static constexpr Capacity fixed (std::size_t value) noexcept
 Construct a fixed capacity.
 
static constexpr Capacity unlimited () noexcept
 Construct an unbounded capacity.
 

详细描述

Non-negative capacity measured in membership slots.

在文件 Container.h 第 92 行定义.

成员函数说明

◆ fixed()

static constexpr Capacity eve::container::Capacity::fixed ( std::size_t  value)
inlinestaticconstexprnoexcept

Construct a fixed capacity.

在文件 Container.h 第 95 行定义.

引用了 value().

◆ isUnlimited()

◆ unlimited()

static constexpr Capacity eve::container::Capacity::unlimited ( )
inlinestaticconstexprnoexcept

Construct an unbounded capacity.

在文件 Container.h 第 97 行定义.

◆ value()


该类的文档由以下文件生成: