Function sequant::eval::dryrun::detail::indices_of

Function Documentation

inline container::svector<Index> sequant::eval::dryrun::detail::indices_of(Result const &r)

Uniform read access to a DryRun Result’s (index list, overrides, cost model) regardless of which concrete DryRun type r is. is<T>() / as<T>() are public Result methods, so no friendship is needed; these are declared here and defined below, after both concrete classes, because their bodies need those classes’ definitions.