NCBI C++ ToolKit
Public Types | Public Attributes | List of all members
SStaticPair< FirstType, SecondType > Struct Template Reference

Search Toolkit Book for SStaticPair

Template structure SStaticPair is simlified replacement of STL pair<> Main reason of introducing this structure is o allow static initialization by { xxx } construct. More...

#include <util/static_set.hpp>

Public Types

typedef FirstType first_type
 
typedef SecondType second_type
 

Public Attributes

first_type first
 
second_type second
 

Detailed Description

template<class FirstType, class SecondType>
struct SStaticPair< FirstType, SecondType >

Template structure SStaticPair is simlified replacement of STL pair<> Main reason of introducing this structure is o allow static initialization by { xxx } construct.

It's main use is for static const structures which do not need constructors

Definition at line 59 of file static_set.hpp.

Member Typedef Documentation

◆ first_type

template<class FirstType , class SecondType >
typedef FirstType SStaticPair< FirstType, SecondType >::first_type

Definition at line 61 of file static_set.hpp.

◆ second_type

template<class FirstType , class SecondType >
typedef SecondType SStaticPair< FirstType, SecondType >::second_type

Definition at line 62 of file static_set.hpp.

Member Data Documentation

◆ first

template<class FirstType , class SecondType >
first_type SStaticPair< FirstType, SecondType >::first

◆ second

template<class FirstType , class SecondType >
second_type SStaticPair< FirstType, SecondType >::second

The documentation for this struct was generated from the following file:
Modified on Wed Apr 24 14:16:25 2024 by modify_doxy.py rev. 669887