MCPcopy Create free account
hub / github.com/bombela/backward-cpp / not_isempty

Class not_isempty

backward.hpp:3773–3778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3771 // and define this one here because C++98 is not happy with local defined
3772 // struct passed to template functions, fuuuu.
3773 struct not_isempty {
3774 bool operator()(const lines_t::value_type &p) {
3775 return !(std::find_if(p.second.begin(), p.second.end(), not_isspace()) ==
3776 p.second.end());
3777 }
3778 };
3779
3780 void swap(SourceFile &b) { _file.swap(b._file); }
3781

Callers 1

SourceFileClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected