From 39ed87570bdb2f86969d4be821c94b722dc71179 Mon Sep 17 00:00:00 2001 From: Joe Ludwig Date: Wed, 26 Jun 2013 15:22:04 -0700 Subject: First version of the SOurce SDK 2013 --- mp/src/game/server/bitstring.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 mp/src/game/server/bitstring.h (limited to 'mp/src/game/server/bitstring.h') diff --git a/mp/src/game/server/bitstring.h b/mp/src/game/server/bitstring.h new file mode 100644 index 00000000..6d5860f3 --- /dev/null +++ b/mp/src/game/server/bitstring.h @@ -0,0 +1,28 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Arbitrary length bit string +// ** NOTE: This class does NOT override the bitwise operators +// as doing so would require overriding the operators +// to allocate memory for the returned bitstring. This method +// would be prone to memory leaks as the calling party +// would have to remember to delete the memory. Funtions +// are used instead to require the calling party to allocate +// and destroy their own memory +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef BITSTRING_H +#define BITSTRING_H +#pragma once + +#include "bitvec.h" + + +#endif // BITSTRING_H -- cgit v1.2.3