Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed constexpr to support older VC compilers. #504

Merged

Conversation

joe2018Outlookcom
Copy link
Contributor

In VS2013.5, the following statement causes a compilation error.
Problem_2

Notice that the same compatibility is done here.

// removed constexpr & noexcept to support older VC compilers
template<typename T>
/*constexpr*/ T const &as_const(T & t) /*noexcept*/
{
return t;
}

@kirkshoop kirkshoop merged commit b630019 into ReactiveX:master Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants