Bitcoin Core 30.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | Friends | List of all members
miniscript::internal::MaxInt< I > Class Template Reference

Class whose objects represent the maximum of a list of integers. More...

#include <miniscript.h>

Public Member Functions

 MaxInt ()
 
 MaxInt (I val)
 
bool Valid () const
 
Value () const
 

Private Attributes

bool valid
 
value
 

Friends

MaxInt< I > operator+ (const MaxInt< I > &a, const MaxInt< I > &b)
 
MaxInt< I > operator| (const MaxInt< I > &a, const MaxInt< I > &b)
 

Detailed Description

template<typename I>
class miniscript::internal::MaxInt< I >

Class whose objects represent the maximum of a list of integers.

Definition at line 363 of file miniscript.h.

Constructor & Destructor Documentation

◆ MaxInt() [1/2]

template<typename I >
miniscript::internal::MaxInt< I >::MaxInt ( )
inline

Definition at line 369 of file miniscript.h.

◆ MaxInt() [2/2]

template<typename I >
miniscript::internal::MaxInt< I >::MaxInt ( val)
inline

Definition at line 370 of file miniscript.h.

Member Function Documentation

◆ Valid()

template<typename I >
bool miniscript::internal::MaxInt< I >::Valid ( ) const
inline

Definition at line 372 of file miniscript.h.

◆ Value()

template<typename I >
I miniscript::internal::MaxInt< I >::Value ( ) const
inline

Definition at line 373 of file miniscript.h.

Friends And Related Function Documentation

◆ operator+

template<typename I >
MaxInt< I > operator+ ( const MaxInt< I > &  a,
const MaxInt< I > &  b 
)
friend

Definition at line 375 of file miniscript.h.

◆ operator|

template<typename I >
MaxInt< I > operator| ( const MaxInt< I > &  a,
const MaxInt< I > &  b 
)
friend

Definition at line 380 of file miniscript.h.

Member Data Documentation

◆ valid

template<typename I >
bool miniscript::internal::MaxInt< I >::valid
private

Definition at line 365 of file miniscript.h.

◆ value

template<typename I >
I miniscript::internal::MaxInt< I >::value
private

Definition at line 366 of file miniscript.h.


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