Convenience alias to use instead of std::vector<bool> to avoid infamous std::vector<bool> specialization.

Synopsis

Declared in <folly/container/vector_bool.h>

template<template<class> typename Allocator = allocator>
using vector_bool = std::vector</* implementation-defined */, Allocator</* implementation-defined */>>;

Description

Usage example:

folly::vector_bool<> vec = {false, true}; assert(vec[0]== false); assert(vec[1]== true);

Created with MrDocs