LLVM: llvm::detail::CheckedInt Struct Reference (original) (raw)
#include "[llvm/ADT/Sequence.h](Sequence%5F8h%5Fsource.html)"
| Static Public Member Functions |
|
| template<typename Integral, std::enable_if_t< std::is_integral< Integral >::value, bool > = 0> |
|
| static CheckedInt |
from (Integral FromValue) |
| template<typename Enum, std::enable_if_t< std::is_enum< Enum >::value, bool > = 0> |
|
| static CheckedInt |
from (Enum FromValue) |
Definition at line 127 of file Sequence.h.
◆ from() [1/2]
template<typename Enum, std::enable_if_t< std::is_enum< Enum >::value, bool > = 0>
| CheckedInt llvm::detail::CheckedInt::from ( Enum FromValue) |
inlinestatic |
◆ from() [2/2]
template<typename Integral, std::enable_if_t< std::is_integral< Integral >::value, bool > = 0>
| CheckedInt llvm::detail::CheckedInt::from ( Integral FromValue) |
inlinestatic |
◆ operator!=()
◆ operator+()
| CheckedInt llvm::detail::CheckedInt::operator+ ( intmax_t Offset) const |
inline |
◆ operator-()
| intmax_t llvm::detail::CheckedInt::operator- ( CheckedInt Other) const |
inline |
◆ operator==()
◆ to() [1/2]
template<typename Integral, std::enable_if_t< std::is_integral< Integral >::value, bool > = 0>
| Integral llvm::detail::CheckedInt::to ( ) const |
inline |
◆ to() [2/2]
template<typename Enum, std::enable_if_t< std::is_enum< Enum >::value, bool > = 0>
| Enum llvm::detail::CheckedInt::to ( ) const |
inline |
The documentation for this struct was generated from the following file: