Lines Matching defs:opt_wrapper
90 opt_result is an opt_wrapper<bool>, where opt_wrapper<T> is a base
96 In all cases, opt_wrapper<T> acts as if the opt_problem were one of its
98 compiled, an opt_wrapper<T> is effectively just a T, so that we're
99 still just passing e.g. a bool around; the opt_wrapper<T> classes
105 Using opt_result and opt_wrapper<T> documents the intent of the code
114 Instances are created by static member functions in opt_wrapper
146 class opt_wrapper
160 opt_wrapper (wrapped_t result, opt_problem */*problem*/)
165 opt_wrapper<T> in memory is just a T. */
172 /* Subclass of opt_wrapper<T> for bool, where
178 class opt_result : public opt_wrapper <bool>
208 propagate_failure (opt_wrapper <S> other)
217 : opt_wrapper <bool> (result, problem)
221 /* Subclass of opt_wrapper<T> where T is a pointer type, for tracking
229 class opt_pointer_wrapper : public opt_wrapper <PtrType_t>
266 propagate_failure (opt_wrapper <S> other)
280 : opt_wrapper<PtrType_t> (result, problem)