pwn++  0.1.4
A (toy) Windows & Linux pwn library to play with modern C++.
CMap< Key, Value, Size > Struct Template Reference

A constexpr map https://xuhuisun.com/post/c++-weekly-2-constexpr-map/. More...

#include <Common.hpp>

Public Types

using CMapEntry = std::pair< Key, Value >
 

Public Member Functions

constexpr Value at (const Key &key) const
 
constexpr Value operator[] (const Key &key) const
 

Public Attributes

std::array< CMapEntry, Size > data
 

Detailed Description

template<typename Key, typename Value, usize Size>
struct CMap< Key, Value, Size >

A constexpr map https://xuhuisun.com/post/c++-weekly-2-constexpr-map/.

Template Parameters
Key
Value
Size

The documentation for this struct was generated from the following file: