23 friend class impl::Env;
25 QCtr(Env& t_env,
TempQCtr&& t_temp_ctr, std::string t_name =
"");
27 QCtr(Env& t_env,
const TempQCtr& t_temp_ctr, std::string t_name =
"");
29 QCtr(Env& t_env, CtrType t_type, std::string t_name =
"");
31 template<
unsigned int N = 1,
unsigned int I = 0>
32 static Vector<
Ctr, N - I> make_vector(Env& t_env,
const Dim<N>& t_dim, CtrType t_type,
const std::string& t_name =
"") {
33 return idol::impl::create_many<Ctr, N, I>(t_dim, t_name, [&](
const std::string& t_name_i) {
34 return QCtr(t_env, t_type, t_name_i);
38 unsigned int index(
const Model& t_model)
const;