diff options
author | Gabriel Dos Reis <GabrielDosReis@users.noreply.github.com> | 2022-08-13 19:25:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 19:25:34 -0700 |
commit | 03bd43a9cd709a46cfa5785173ef8884f109c2b4 (patch) | |
tree | 7c97fd482e3613e2eb9ad2f5c529c4ff8f99253e /src/include/open-axiom/Charset | |
parent | d4bc50891cb647222057e3659e9fe08e7cdd8dc4 (diff) | |
parent | ed4e79c3d0ac83864f8dc39539d76a171f975638 (diff) | |
download | open-axiom-03bd43a9cd709a46cfa5785173ef8884f109c2b4.tar.gz |
Merge pull request #12 from GabrielDosReis/gdr/use-cxx-concepts
Use C++ concepts in lieu of SFINAE.
Diffstat (limited to 'src/include/open-axiom/Charset')
-rw-r--r-- | src/include/open-axiom/Charset | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/open-axiom/Charset b/src/include/open-axiom/Charset index 58fa9ea8..4a2c6050 100644 --- a/src/include/open-axiom/Charset +++ b/src/include/open-axiom/Charset @@ -1,5 +1,5 @@ // -*- C++ -*- -// Copyright (C) 2013, Gabriel Dos Reis. +// Copyright (C) 2013-2022, Gabriel Dos Reis. // All rights reserved. // Written by Gabriel Dos Reis. // @@ -34,15 +34,15 @@ #ifndef OPENAXIOM_CHARSET_included #define OPENAXIOM_CHARSET_included -#include <stdint.h> +#include <cstdint> namespace OpenAxiom { // Code point value of a UCS member. - using Codepoint = uint32_t; + using Codepoint = std::uint32_t; // Unicode character type. enum class Character : Codepoint { - NUL = Codepoint() // The NUL character + NUL = Codepoint{} // The NUL character }; } |