Function sequant::mbpt::set_scoped_default_mbpt_context(const Context&)¶
Defined in File context.cpp
Function Documentation¶
-
sequant::detail::ImplicitContextResetter<Context> sequant::mbpt::set_scoped_default_mbpt_context(const Context &ctx)¶
changes the default mbpt context until the returned object is destroyed
Note
the scoped contexts are seen only by the calling thread and by the workers of the parallel primitives (sequant::for_each, etc.) it launches; set_default_mbpt_context() is not seen by this thread until the scope ends
Note
scopes must end in the reverse order of their creation