GDB (xrefs)
Classes | Functions | Variables
selftests::scoped_restore_tests Namespace Reference

Classes

struct  Base
 
struct  Derived
 

Functions

static scoped_restore_tmpl< int > make_scoped_restore_global (int value)
 
static void run_tests ()
 

Variables

static int global
 

Function Documentation

◆ make_scoped_restore_global()

static scoped_restore_tmpl<int> selftests::scoped_restore_tests::make_scoped_restore_global ( int  value)
static

Definition at line 35 of file scoped_restore-selftests.c.

References global, and make_scoped_restore().

Referenced by run_tests().

◆ run_tests()

static void selftests::scoped_restore_tests::run_tests ( )
static

Variable Documentation

◆ global

int selftests::scoped_restore_tests::global
static