kblib 0.2.3
General utilities library for modern C++
kblib::trivial_pair< T > Struct Template Reference

std::pair isn't constexpr enough, so I'm stuck with this. All I use it for is removing a temporary variable from calc_fib_size(). More...

#include <kblib/stats.h>

Public Attributes

first
 
second
 

Detailed Description

template<typename T>
struct kblib::trivial_pair< T >

std::pair isn't constexpr enough, so I'm stuck with this. All I use it for is removing a temporary variable from calc_fib_size().

Definition at line 61 of file stats.h.

Member Data Documentation

◆ first

template<typename T >
T kblib::trivial_pair< T >::first

Definition at line 62 of file stats.h.

◆ second

template<typename T >
T kblib::trivial_pair< T >::second

Definition at line 63 of file stats.h.


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