mirror of https://github.com/llvm-mirror/libcxx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1f4cad9f28
`make_optional<string>(4, 'X')` passes `4` (an `int`) as the first argument to `string`'s `(size_t, charT)` constructor, triggering a signed/unsigned mismatch warning when compiling with MSVC at `/W4`. The incredibly simple fix is to instead use an unsigned literal (`4u`). git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@374684 91177308-0d34-0410-b5e6-96231b3b80d8 |
5 years ago | |
---|---|---|
.. | ||
optional.bad_optional_access | 6 years ago | |
optional.comp_with_t | 6 years ago | |
optional.hash | 5 years ago | |
optional.nullops | 6 years ago | |
optional.nullopt | 6 years ago | |
optional.object | 5 years ago | |
optional.relops | 6 years ago | |
optional.specalg | 5 years ago | |
optional.syn | 6 years ago |