MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / discard_comments

Function discard_comments

tests/AssetsLibrary.cpp:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void discard_comments(std::ifstream &fs)
109{
110 while (fs.peek() == '#')
111 {
112 fs.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
113 }
114}
115
116void discard_comments_and_spaces(std::ifstream &fs)
117{

Callers 2

Calls 1

peekMethod · 0.80

Tested by

no test coverage detected