add error messages to static_assert#68
Conversation
|
any suggestion what error msg I should give for this case?
|
Something like, "T must not be in_place_t or nullopt_t" ? |
Thanks! I see there is a remove_cv_t, I was thinking I should say something like "T without cv qualification must not be nullopt_t" |
neatudarius
left a comment
There was a problem hiding this comment.
Current PR status LGTM. Waiting for new version
|
I tried to add a line beman::optional26::optional<beman::optional26::nullopt_t> op;to file concept_checks.cpp Here is the error log before the message is added Here is the error log after the message is added |
|
@neatudarius @steve-downey |
|
Sure, not a problem. |
|
@changkhothuychung , please fix precommit before merge. Otherwise LGTM |
|
@changkhothuychung , one more try? I will check repo settings to automatically run CI for any PR without approval. |
It should always run CI when you push. |
Fix #50
I will keep adding more messages to the static_assert's