19#ifndef EXTERNAL_FIELD_DETAIL_BASE_HPP
20#define EXTERNAL_FIELD_DETAIL_BASE_HPP
26template <
typename Coupling,
typename Field>
class Base {
32 template <
typename CouplingRef,
typename FieldRef>
33 Base(CouplingRef &&coupling, FieldRef &&field)
34 : m_coupling(std::forward<CouplingRef>(coupling)),
35 m_field(std::forward<FieldRef>(field)) {}
37 Coupling
const &coupling()
const {
return m_coupling; }
38 Field
const &field()
const {
return m_field; }