HandmadeHero/project/platform/generics.hpp
Ed_ 6fb75fd1ff quick filename refactor.
Want to make sure I explictly make headers c++ if they are intended to be.
2023-09-23 21:52:38 -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;
}