GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
selftests::array_view_tests::foo Struct Reference

Public Member Functions

 foo (int n)
 
 foo (const foo &other)=default
 
void operator= (const foo &other)
 
bool operator== (const foo &other) const
 

Public Attributes

int n
 

Static Public Attributes

static int n_assign_op_called = 0
 

Detailed Description

Definition at line 602 of file array-view-selftests.c.

Constructor & Destructor Documentation

◆ foo() [1/2]

selftests::array_view_tests::foo::foo ( int n)
inline

Definition at line 607 of file array-view-selftests.c.

◆ foo() [2/2]

selftests::array_view_tests::foo::foo ( const foo & other)
default

Member Function Documentation

◆ operator=()

void selftests::array_view_tests::foo::operator= ( const foo & other)
inline

Definition at line 615 of file array-view-selftests.c.

References n, and n_assign_op_called.

◆ operator==()

bool selftests::array_view_tests::foo::operator== ( const foo & other) const
inline

Definition at line 621 of file array-view-selftests.c.

References n.

Member Data Documentation

◆ n

int selftests::array_view_tests::foo::n

Definition at line 626 of file array-view-selftests.c.

Referenced by operator=(), and operator==().

◆ n_assign_op_called

int selftests::array_view_tests::foo::n_assign_op_called = 0
static

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