mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
refactor: 💥 fixed_string
constructor taking a single character made explicit
This commit is contained in:
@@ -56,7 +56,7 @@ struct basic_fixed_string {
|
||||
using size_type = std::size_t;
|
||||
using difference_type = std::ptrdiff_t;
|
||||
|
||||
constexpr explicit(false) basic_fixed_string(CharT ch) noexcept
|
||||
constexpr explicit basic_fixed_string(CharT ch) noexcept
|
||||
requires(N == 1)
|
||||
{
|
||||
data_[0] = ch;
|
||||
|
Reference in New Issue
Block a user