oa::swapValues

Deliberately not named `swap`: an unconstrained `oa::swap(T & , T & )` enters argument-dependent lookup for every OA type and collides with the Standard Library's own generic swap inside algorithms such as std::sort.

Function Documentation

void oa::swapValues( T & inA, T & inB )
Deliberately not named `swap`: an unconstrained `oa::swap(T & , T & )` enters argument-dependent lookup for every OA type and collides with the Standard Library's own generic swap inside algorithms such as std::sort.

Parameters

inA
T &

inB
T &

Returns

void

The declared return value.