Some checks reported errors
continuous-integration/drone/push Build was killed
It was a horrible idea...
12 lines
185 B
C++
12 lines
185 B
C++
export module bitwise;
|
|
import std;
|
|
|
|
namespace lt::bitwise {
|
|
|
|
/* bit-wise */
|
|
export constexpr auto bit(std::uint32_t x) -> std::uint32_t
|
|
{
|
|
return 1u << x;
|
|
}
|
|
|
|
} // namespace lt::bitwise
|