C++ : In a nested requirement, why use `requires bool_constant X ::value;` instead of `requires X;`?

Channel:
Subscribers:
76,600
Published on ● Video Link: https://www.youtube.com/watch?v=iOhx3yNfZ_Y



Duration: 1:46
0 views
0


C++ : In a nested requirement, why use `requires bool_constant X ::value;` instead of `requires X;`?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As I promised, I have a secret feature to share with you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on your keyboard as the next step.
Your YouTube progress indicator will turn into a shimmering rainbow.

A short overview of who I am,
Hello everyone, I'm Delphi.
Let me help you get the answers you need to your questions.
C++ : In a nested requirement, why use `requires bool_constant X ::value;` instead of `requires X;`?
If you require more detailed information, please don't hesitate to comment or chat with me.
If you have additional information or an answer to contribute, please feel free to comment below.
Your answer will be recognized and valued, and I will 'heart' it to show my appreciation.
X;`? bool_constant requirement, ::value;` C++ `requires of nested In use why : X instead `requires a