Skip to content

removed constexpr to support older VC compilers.#504

Merged
kirkshoop merged 1 commit intoReactiveX:masterfrom
joe2018Outlookcom:support_older_VC_compilers
Aug 1, 2019
Merged

removed constexpr to support older VC compilers.#504
kirkshoop merged 1 commit intoReactiveX:masterfrom
joe2018Outlookcom:support_older_VC_compilers

Conversation

@joe2018Outlookcom
Copy link
Copy Markdown
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