Botan 1.10.17
std Namespace Reference

Functions

template<>
void swap (Botan::BigInt &x, Botan::BigInt &y)
template<typename T>
void swap (Botan::MemoryRegion< T > &x, Botan::MemoryRegion< T > &y)
template<>
void swap< Botan::CurveGFp > (Botan::CurveGFp &curve1, Botan::CurveGFp &curve2)
template<>
void swap< Botan::PointGFp > (Botan::PointGFp &x, Botan::PointGFp &y)

Function Documentation

◆ swap() [1/2]

template<>
void std::swap ( Botan::BigInt & x,
Botan::BigInt & y )
inline

Definition at line 553 of file bigint.h.

554 {
555 x.swap(y);
556 }
void swap(BigInt &other)
Definition bigint.cpp:107

References Botan::BigInt::swap(), and swap().

◆ swap() [2/2]

template<typename T>
void std::swap ( Botan::MemoryRegion< T > & x,
Botan::MemoryRegion< T > & y )
inline

◆ swap< Botan::CurveGFp >()

template<>
void std::swap< Botan::CurveGFp > ( Botan::CurveGFp & curve1,
Botan::CurveGFp & curve2 )
inline

Definition at line 152 of file curve_gfp.h.

154 {
155 curve1.swap(curve2);
156 }
void swap(CurveGFp &other)
Definition curve_gfp.h:95

References Botan::CurveGFp::swap().

◆ swap< Botan::PointGFp >()

template<>
void std::swap< Botan::PointGFp > ( Botan::PointGFp & x,
Botan::PointGFp & y )
inline

Definition at line 269 of file point_gfp.h.

270 { x.swap(y); }
void swap(PointGFp &other)

References Botan::PointGFp::swap().