-
Notifications
You must be signed in to change notification settings - Fork 260
[SUGGESTION] f? and c? types #297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I wish to also have
|
C++23 has |
C++23 has those, and |
Cpp has those as literal suffices, I guess the proposal is for types to have those names |
I've been tempted to add these, but only GCC currently supports
I'd worry that means wading into the Unicode swamp and having to decide what of several things |
Infact I was thinking about |
Thanks again... I haven't seen much more discussion since adding the further-info-request label for this question:
So I'll close this issue for now, but please reopen with a PR when someone can provide a way to do it the above way and enable it to be a robustly portable feature. Thanks! |
Currently the following type aliases are defined in
cpp2util.h
:i8
,i16
,i32
andi64
for various signed integer typesu8
,u16
,u32
andu64
for various unsigned integer typesI propose to also define the following type aliases:
f16
,f32
,f64
andf128
for various floating-point typesAlso this can be done for
char?_t
types, but I'm not sure if it is common:c8
,c16
andc32
for various character typesThe text was updated successfully, but these errors were encountered: