sac-format 0.6.0
C++20 SAC (Seismic Analysis Code) File Library
Loading...
Searching...
No Matches
sacfmt::word_pair< T > Struct Template Reference

Struct containing a pair of words. More...

#include <sac_format.hpp>

Public Attributes

T first {}
 First 'word' in the pair.
 
T second {}
 Second 'word' in the pair.
 

Detailed Description

template<typename T>
struct sacfmt::word_pair< T >

Struct containing a pair of words.

Prevents bug-prone word-swapping in functions that use a pair of words.

These are not necessarily single words, it could be a pair of word_one or a pair of word_two.

Member Data Documentation

◆ first

template<typename T >
T sacfmt::word_pair< T >::first {}

First 'word' in the pair.

192{};

◆ second

template<typename T >
T sacfmt::word_pair< T >::second {}

Second 'word' in the pair.

193{};

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