MCPcopy Create free account
hub / github.com/boostorg/compute / at

Method at

include/boost/compute/container/flat_map.hpp:377–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375 }
376
377 const mapped_type at(const key_type &key) const
378 {
379 const_iterator iter = find(key);
380 if(iter == end()){
381 BOOST_THROW_EXCEPTION(std::out_of_range("key not found"));
382 }
383
384 return value_type(*iter).second;
385 }
386
387 detail::buffer_value<mapped_type> operator[](const key_type &key)
388 {

Callers

nothing calls this directly

Calls 1

findFunction · 0.85

Tested by

no test coverage detected