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

Method upper_bound

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

Source from the content-addressed store, hash-verified

335 }
336
337 iterator upper_bound(const key_type &value, command_queue &queue)
338 {
339 ::boost::compute::get<0> get_key;
340
341 return ::boost::compute::upper_bound(
342 ::boost::compute::make_transform_iterator(begin(), get_key),
343 ::boost::compute::make_transform_iterator(end(), get_key),
344 value,
345 queue
346 ).base();
347 }
348
349 iterator upper_bound(const key_type &value)
350 {

Callers

nothing calls this directly

Calls 4

upper_boundFunction · 0.85
make_transform_iteratorFunction · 0.85
default_queueMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected