Kagome
Polkadot Runtime Engine in C++17
size_limited_containers.hpp File Reference
#include <fmt/format.h>
#include <gsl/span>
#include <limits>
#include <stdexcept>
#include <type_traits>
#include <vector>
Include dependency graph for size_limited_containers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kagome::common::MaxSizeException
 
class  kagome::common::SizeLimitedContainer< BaseContainer, MaxSize >
 

Namespaces

 kagome::common
 

Macros

#define unlikely(x)   (x)
 

Typedefs

template<typename ElementType , size_t MaxSize, typename... Args>
using kagome::common::SLVector = SizeLimitedContainer< std::vector< ElementType, Args... >, MaxSize >
 

Macro Definition Documentation

#define unlikely (   x)    (x)

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Definition at line 22 of file size_limited_containers.hpp.