ReactOS  0.4.12-dev-102-g4b7f1e0
tinyxml2::LongFitsIntoSizeTMinusOne< bool > Struct Template Reference

Public Member Functions

template<>
bool Fits (unsigned long)
 

Static Public Member Functions

static bool Fits (unsigned long value)
 

Detailed Description

template<bool = (sizeof(unsigned long) >= sizeof(size_t))>
struct tinyxml2::LongFitsIntoSizeTMinusOne< bool >

Definition at line 1927 of file tinyxml2.cpp.

Member Function Documentation

◆ Fits() [1/2]

template<bool = (sizeof(unsigned long) >= sizeof(size_t))>
static bool tinyxml2::LongFitsIntoSizeTMinusOne< bool >::Fits ( unsigned long  value)
inlinestatic

Definition at line 1928 of file tinyxml2.cpp.

1929  {
1930  return value < (size_t)-1;
1931  }
Definition: get.c:139
__kernel_size_t size_t
Definition: linux.h:237

◆ Fits() [2/2]

template<>
bool tinyxml2::LongFitsIntoSizeTMinusOne< false >::Fits ( unsigned  long)

Definition at line 1935 of file tinyxml2.cpp.

1936 {
1937  return true;
1938 }

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