HandmadeHero/project/platform/generics.h
2023-09-17 23:41:19 -04:00

11 lines
113 B
C++

#pragma once
template< class Type >
void swap( Type& a, Type& b )
{
Type
temp = a;
a = b;
b = temp;
}