You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[src] Use 'static_assert' for KALDI_COMPILE_TIME_ASSERT (#4566)
Remove 'template<bool B> class KaldiCompileTimeAssert' because
'static_assert' is now a language declaration. Before C++17 a
second argument for the message is required (lame, lame!), which
is, lacking anything better, is obtained by stringizing the
function-like macro argument. For C++17, the second argument is
optional, and the semantics of 'KALDI_COMPILE_TIME_ASSERT' and
'static_assert' is identical when the second argument to the
latter is not provided.
0 commit comments