title: Fastest way to find out if all elements in a vector are false or true c++?
body: <p>I was wondering if there was a quick way to find out if all elements in a vector are <strong>false</strong> or <strong>true</strong>? Like instead of <em>checking each element using a loop?</em></p>