~singpolyma/biboumi

ref: 7b3e0e0cf3eddd3537455a3605b04a48ee663f47 biboumi/src/utils/get_first_non_empty.cpp -rw-r--r-- 160 bytes
7b3e0e0c — louiz’ Make botan’s policy configurable from a file 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#include <utils/get_first_non_empty.hpp>

bool is_empty(const std::string& val)
{
  return val.empty();
}

bool is_empty(const int& val)
{
  return val == 0;
}