[libc-commits] [PATCH] D136294: [libc] Add cpp::byte

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Oct 19 14:41:04 PDT 2022


gchatelet created this revision.
gchatelet added a reviewer: courbet.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
gchatelet requested review of this revision.

This provides the equivalent of std::byte.
std::byte is a distinct type that implements the concept of byte as specified in the C++ language definition.
https://en.cppreference.com/w/cpp/types/byte


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136294

Files:
  libc/src/__support/CPP/CMakeLists.txt
  libc/src/__support/CPP/byte.h
  libc/test/src/__support/CPP/CMakeLists.txt
  libc/test/src/__support/CPP/byte_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136294.469050.patch
Type: text/x-patch
Size: 4638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221019/06c1bc07/attachment.bin>


More information about the libc-commits mailing list