Click here to Skip to main content
15,889,863 members
Articles / Programming Languages / C++11

C++11: Compile-time Conditional Types

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
16 May 2018CPOL2 min read 20.3K   69   7  
C++11's std::conditional tip with an endian swap example

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Singapore Singapore
Shao Voon is from Singapore. His interest lies primarily in computer graphics, software optimization, concurrency, security, and Agile methodologies.

In recent years, he shifted focus to software safety research. His hobby is writing a free C++ DirectX photo slideshow application which can be viewed here.

Comments and Discussions