<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Dec 4, 2018 at 7:34 PM Marshall Clow <<a href="mailto:mclow.lists@gmail.com">mclow.lists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>An alternate formulation - w/o the `IS_DEFINED` trickery.<br></div><div><br></div><div><div><div>#if TEST_STD_VER > 17</div><div># if !defined(__cpp_lib_char8_t)  </div><div>  LIBCPP_STATIC_ASSERT(false, "__cpp_lib_char8_t is not defined");</div><div># else</div><div>#  if __cpp_lib_char8_t < 201811L</div><div>#   error "__cpp_lib_char8_t has an invalid value"</div><div>#  endif</div><div># endif</div><div>#endif</div></div></div></div></div></div></div></blockquote><div><br></div><div>After thinking about this overnight, I like this better than what I've got in D55308.</div><div><br></div><div>-- Marshall</div><div><br></div></div></div>