Skip to content

Commit

Permalink
deploy: 9ec9c69
Browse files Browse the repository at this point in the history
  • Loading branch information
mguludag committed Jun 29, 2024
1 parent 34a90f6 commit cd62b1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git-main/definitions_8hpp_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="preprocessor">#error &quot;Standards older than C++11 is not supported!&quot;</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="preprocessor">#if MGUTILITY_CPLUSPLUS &gt; 201703L</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="preprocessor">#if MGUTILITY_CPLUSPLUS &gt; 201703L &amp;&amp; defined(__cpp_lib_constexpr_string)</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="preprocessor">#define MGUTILITY_CNSTXPR_CLANG_WA constexpr</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="definitions_8hpp.html#ad7d158b2132888de05e72cdd28db7e11"> 70</a></span><span class="preprocessor">#define MGUTILITY_CNSTXPR_CLANG_WA</span></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ <h1><a class="anchor" id="autotoc_md5"></a>
<div class="line"> <span class="keyword">auto</span> x = Position::Left;</div>
<div class="line"> <span class="keyword">auto</span> y = mgutility::to_enum&lt;Position&gt;(<span class="stringliteral">&quot;CENTER&quot;</span>); <span class="comment">// Convert string to enum</span></div>
<div class="line"> </div>
<div class="line"><span class="preprocessor">#if MGUTILITY_CPLUSPLUS &gt; 201703L</span></div>
<div class="line"><span class="preprocessor">#if defined(__cpp_lib_constexpr_string)</span></div>
<div class="line"> <span class="keyword">static_assert</span>(<a class="code hl_function" href="namespacemgutility.html#a56127482f9ec47f2b6600cfdab84af03">mgutility::enum_name</a>(Position::Top | Position::Right) ==</div>
<div class="line"> <span class="stringliteral">&quot;TOP|RIGHT&quot;</span>); <span class="comment">// Compile-time check</span></div>
<div class="line"> <span class="keyword">static_assert</span>(mgutility::to_enum&lt;Position&gt;(<span class="stringliteral">&quot;BOTTOM|LEFT&quot;</span>) ==</div>
Expand Down

0 comments on commit cd62b1f

Please sign in to comment.