Skip to content

Commit

Permalink
Update bit_cast.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lackhole committed Aug 4, 2024
1 parent d34b9e9 commit a6835d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/preview/__bit/bit_cast.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
#ifndef PREVIEW_BIT_BIT_CAST_H_
#define PREVIEW_BIT_BIT_CAST_H_

#include <cstring>
#include <type_traits>

#include "preview/config.h"

#if PREVIEW_CONFORM_CXX20_STANDARD
#include <bit>
#else
#include <cstring>
#endif

#include "preview/__memory/addressof.h"
Expand Down

0 comments on commit a6835d4

Please sign in to comment.