Skip to content

Add C++ rs_std::usize and rs_std::isize wrappers in int.h#1493

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_949185268
Open

Add C++ rs_std::usize and rs_std::isize wrappers in int.h#1493
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_949185268

Conversation

@copybara-service

Copy link
Copy Markdown

Add C++ rs_std::usize and rs_std::isize wrappers in int.h

These will be used by template specializations to disambiguate between a specialization of usize and u64/u32 (or isize and i64/i32) when those might be the same type in C++. rs_std::usizeandrs_std::isize` will always be considered a new type in C++ and will never overlap with fundamental types.

These will be used by template specializations to disambiguate between a specialization of `usize` and `u64`/`u32` (or `isize and `i64`/`i32`) when those might be the same type in C++. `rs_std::usize` and `rs_std::isize` will always be considered a new type in C++ and will never overlap with fundamental types.

PiperOrigin-RevId: 949185268
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant