Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
890 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Arbitrary length bit string
  4. // ** NOTE: This class does NOT override the bitwise operators
  5. // as doing so would require overriding the operators
  6. // to allocate memory for the returned bitstring. This method
  7. // would be prone to memory leaks as the calling party
  8. // would have to remember to delete the memory. Funtions
  9. // are used instead to require the calling party to allocate
  10. // and destroy their own memory
  11. //
  12. // $Workfile: $
  13. // $Date: $
  14. // $NoKeywords: $
  15. //=============================================================================//
  16. #include "cbase.h"
  17. #include <limits.h>
  18. #include "bitstring.h"
  19. #include "utlbuffer.h"
  20. #include "tier0/dbg.h"
  21. // memdbgon must be the last include file in a .cpp file!!!
  22. #include "tier0/memdbgon.h"