std: clarify header guarantees

This commit is contained in:
Danny Robson 2020-01-16 11:58:03 +11:00
parent 49c0b35fe7
commit 3c768daf81

View File

@ -3,13 +3,18 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
* *
* Copyright 2018 Danny Robson <danny@nerdcruft.net> * Copyright 2018-2020, Danny Robson <danny@nerdcruft.net>
*/ */
#pragma once #pragma once
#include <cstdint> #include <cstdint>
/// A collection of convenience typedefs that define short aliases (three
/// letters) to std sized types in the global namespace.
///
/// We guarantee that there will be minimal, and safe, includes in this header.
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
using u08 = std::uint8_t; using u08 = std::uint8_t;