11 inline void b2s(
bool a_value,std::string& a_s){
12 a_s = a_value?
"true":
"false";
15 inline void bas(
bool a_value,std::string& a_s){
16 a_s += (a_value?
"true":
"false");
25 inline void b2s(
const std::vector<bool>& a_vals,std::string& a_s,
const std::string& a_sep =
"\n",
bool a_sep_at_end =
false) {
27 size_t number = a_vals.size();
31 for(
size_t index=0;index<number;index++) {
32 b2s(a_vals[index],stmp);
36 b2s(a_vals[number],stmp);
38 if(a_sep_at_end) a_s += a_sep;