MCPcopy Create free account
hub / github.com/boostorg/parser / insert

Function insert

include/boost/parser/parser.hpp:1458–1465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1456
1457 template<typename Container, typename T>
1458 void insert(Container & c, T && x)
1459 {
1460 if constexpr (is_detected_v<has_push_back, Container>) {
1461 c.push_back((T &&) x);
1462 } else {
1463 c.insert((T &&) x);
1464 }
1465 }
1466
1467 template<typename Container, typename I>
1468 void insert(Container & c, I first, I last)

Callers 2

parser.hppFile · 0.70
move_back_implFunction · 0.70

Calls 2

for_eachFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected