Demo const_cast
Loading...
Searching...
No Matches
A Class Reference

Public Member Functions

 A (double x)
 
 A (A const &rhs)=default
 
 A (A &&rhs)=default
 
Aoperator= (A const &rhs)=delete
 
Aoperator= (A &&rhs)=default
 
 ~A ()=default
 
double pow () const
 
void SetPower (int n)
 

Detailed Description

Definition at line 6 of file main.cpp.

Constructor & Destructor Documentation

◆ A() [1/3]

A::A ( double  x)
inline

Definition at line 8 of file main.cpp.

◆ A() [2/3]

A::A ( A const &  rhs)
default

◆ A() [3/3]

A::A ( A &&  rhs)
default

◆ ~A()

A::~A ( )
default

Member Function Documentation

◆ operator=() [1/2]

A & A::operator= ( A &&  rhs)
default

◆ operator=() [2/2]

A & A::operator= ( A const &  rhs)
delete

◆ pow()

double A::pow ( ) const
inline

Definition at line 16 of file main.cpp.

Here is the caller graph for this function:

◆ SetPower()

void A::SetPower ( int  n)
inline

Definition at line 21 of file main.cpp.

Here is the caller graph for this function:

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