Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends
testing::ThrowingValue< Spec > Class Template Reference

#include <exception_safety_testing.h>

Inheritance diagram for testing::ThrowingValue< Spec >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int & Get () noexcept
const int & Get () const noexcept
void operator delete (void *p) noexcept
template<typename... Args>
void operator delete (void *p, Args &&...args) noexcept
void operator delete[] (void *p) noexcept
template<typename... Args>
void operator delete[] (void *p, Args &&...args) noexcept
ThrowingBool operator! () const
ThrowingValue operator% (const ThrowingValue &other) const
ThrowingValueoperator%= (const ThrowingValue &other)
ThrowingValue operator& (const ThrowingValue &other) const
void operator& () const
ThrowingBool operator&& (const ThrowingValue &other) const
ThrowingValueoperator&= (const ThrowingValue &other)
ThrowingValue operator* (const ThrowingValue &other) const
ThrowingValueoperator*= (const ThrowingValue &other)
ThrowingValue operator+ (const ThrowingValue &other) const
ThrowingValue operator+ () const
ThrowingValueoperator++ ()
ThrowingValue operator++ (int)
ThrowingValueoperator+= (const ThrowingValue &other)
ThrowingValue operator- (const ThrowingValue &other) const
ThrowingValue operator- () const
ThrowingValueoperator-- ()
ThrowingValue operator-- (int)
ThrowingValueoperator-= (const ThrowingValue &other)
ThrowingValue operator/ (const ThrowingValue &other) const
ThrowingValueoperator/= (const ThrowingValue &other)
ThrowingValue operator<< (int shift) const
ThrowingValueoperator<<= (int shift)
ThrowingValueoperator= (const ThrowingValue &other) noexcept(IsSpecified(TypeSpec
ThrowingValueoperator= (ThrowingValue &&other) noexcept(IsSpecified(TypeSpec
ThrowingValue operator>> (int shift) const
ThrowingValueoperator>>= (int shift)
ThrowingValue operator^ (const ThrowingValue &other) const
ThrowingValueoperator^= (const ThrowingValue &other)
ThrowingValue operator| (const ThrowingValue &other) const
ThrowingValueoperator|= (const ThrowingValue &other)
ThrowingBool operator|| (const ThrowingValue &other) const
ThrowingValue operator~ () const
 ThrowingValue ()
 ThrowingValue (const ThrowingValue &other) noexcept(IsSpecified(TypeSpec
 ThrowingValue (ThrowingValue &&other) noexcept(IsSpecified(TypeSpec
 ThrowingValue (int i)
 ThrowingValue (int i, exceptions_internal::NoThrowTag) noexcept
 ~ThrowingValue () noexcept

Static Public Member Functions

template<typename... Args>
static void * operator new (size_t s, Args &&...args) noexcept(IsSpecified(TypeSpec
template<typename... Args>
static void * operator new[] (size_t s, Args &&...args) noexcept(IsSpecified(TypeSpec

Static Private Member Functions

static std::string GetInstanceString (int dummy)
static constexpr bool IsSpecified (TypeSpec spec)

Private Attributes

int dummy_

Static Private Attributes

static constexpr int kBadValue = 938550620
static constexpr int kDefaultValue = 0

Friends

ThrowingBool operator!= (const ThrowingValue &a, const ThrowingValue &b)
ThrowingBool operator< (const ThrowingValue &a, const ThrowingValue &b)
std::ostream & operator<< (std::ostream &os, const ThrowingValue &tv)
ThrowingBool operator<= (const ThrowingValue &a, const ThrowingValue &b)
ThrowingBool operator== (const ThrowingValue &a, const ThrowingValue &b)
ThrowingBool operator> (const ThrowingValue &a, const ThrowingValue &b)
ThrowingBool operator>= (const ThrowingValue &a, const ThrowingValue &b)
std::istream & operator>> (std::istream &is, const ThrowingValue &)

Detailed Description

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
class testing::ThrowingValue< Spec >

Definition at line 254 of file exception_safety_testing.h.


Constructor & Destructor Documentation

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
testing::ThrowingValue< Spec >::ThrowingValue ( ) [inline]

Definition at line 263 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
testing::ThrowingValue< Spec >::ThrowingValue ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 268 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
testing::ThrowingValue< Spec >::ThrowingValue ( ThrowingValue< Spec > &&  other) [inline]

Definition at line 277 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
testing::ThrowingValue< Spec >::ThrowingValue ( int  i) [inline, explicit]

Definition at line 286 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
testing::ThrowingValue< Spec >::ThrowingValue ( int  i,
exceptions_internal::NoThrowTag   
) [inline]

Definition at line 291 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
testing::ThrowingValue< Spec >::~ThrowingValue ( )

Member Function Documentation

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
int& testing::ThrowingValue< Spec >::Get ( ) [inline]

Definition at line 579 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
const int& testing::ThrowingValue< Spec >::Get ( ) const [inline]

Definition at line 580 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
static std::string testing::ThrowingValue< Spec >::GetInstanceString ( int  dummy) [inline, static, private]

Definition at line 583 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
static constexpr bool testing::ThrowingValue< Spec >::IsSpecified ( TypeSpec  spec) [inline, static, private]

Definition at line 255 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
void testing::ThrowingValue< Spec >::operator delete ( void *  p) [inline]

Definition at line 563 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
template<typename... Args>
void testing::ThrowingValue< Spec >::operator delete ( void *  p,
Args &&...  args 
) [inline]

Definition at line 566 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
void testing::ThrowingValue< Spec >::operator delete[] ( void *  p) [inline]

Definition at line 570 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
template<typename... Args>
void testing::ThrowingValue< Spec >::operator delete[] ( void *  p,
Args &&...  args 
) [inline]

Definition at line 573 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
template<typename... Args>
static void* testing::ThrowingValue< Spec >::operator new ( size_t  s,
Args &&...  args 
) [inline, static]

Definition at line 538 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
template<typename... Args>
static void* testing::ThrowingValue< Spec >::operator new[] ( size_t  s,
Args &&...  args 
) [inline, static]

Definition at line 547 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool testing::ThrowingValue< Spec >::operator! ( ) const [inline]

Definition at line 424 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator% ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 374 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator%= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 485 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator& ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 445 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
void testing::ThrowingValue< Spec >::operator& ( ) const
template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool testing::ThrowingValue< Spec >::operator&& ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 429 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator&= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 491 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator* ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 364 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator*= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 473 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator+ ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 318 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator+ ( ) const [inline]

Definition at line 323 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator++ ( ) [inline]

Definition at line 338 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator++ ( int  ) [inline]

Definition at line 344 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator+= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 461 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator- ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 328 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator- ( ) const [inline]

Definition at line 333 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator-- ( ) [inline]

Definition at line 351 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator-- ( int  ) [inline]

Definition at line 357 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator-= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 467 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator/ ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 369 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator/= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 479 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator<< ( int  shift) const [inline]

Definition at line 379 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator<<= ( int  shift) [inline]

Definition at line 509 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 297 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator= ( ThrowingValue< Spec > &&  other) [inline]

Definition at line 307 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator>> ( int  shift) const [inline]

Definition at line 384 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator>>= ( int  shift) [inline]

Definition at line 515 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator^ ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 455 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator^= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 503 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator| ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 450 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue& testing::ThrowingValue< Spec >::operator|= ( const ThrowingValue< Spec > &  other) [inline]

Definition at line 497 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool testing::ThrowingValue< Spec >::operator|| ( const ThrowingValue< Spec > &  other) const [inline]

Definition at line 434 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingValue testing::ThrowingValue< Spec >::operator~ ( ) const [inline]

Definition at line 440 of file exception_safety_testing.h.


Friends And Related Function Documentation

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool operator!= ( const ThrowingValue< Spec > &  a,
const ThrowingValue< Spec > &  b 
) [friend]

Definition at line 397 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool operator< ( const ThrowingValue< Spec > &  a,
const ThrowingValue< Spec > &  b 
) [friend]

Definition at line 402 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
std::ostream& operator<< ( std::ostream &  os,
const ThrowingValue< Spec > &  tv 
) [friend]

Definition at line 525 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool operator<= ( const ThrowingValue< Spec > &  a,
const ThrowingValue< Spec > &  b 
) [friend]

Definition at line 407 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool operator== ( const ThrowingValue< Spec > &  a,
const ThrowingValue< Spec > &  b 
) [friend]

Definition at line 392 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool operator> ( const ThrowingValue< Spec > &  a,
const ThrowingValue< Spec > &  b 
) [friend]

Definition at line 412 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
ThrowingBool operator>= ( const ThrowingValue< Spec > &  a,
const ThrowingValue< Spec > &  b 
) [friend]

Definition at line 417 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
std::istream& operator>> ( std::istream &  is,
const ThrowingValue< Spec > &   
) [friend]

Definition at line 530 of file exception_safety_testing.h.


Member Data Documentation

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
int testing::ThrowingValue< Spec >::dummy_ [private]

Definition at line 589 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
constexpr int testing::ThrowingValue< Spec >::kBadValue = 938550620 [static, private]

Definition at line 260 of file exception_safety_testing.h.

template<TypeSpec Spec = TypeSpec::kEverythingThrows>
constexpr int testing::ThrowingValue< Spec >::kDefaultValue = 0 [static, private]

Definition at line 259 of file exception_safety_testing.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:17