27 #ifndef MLN_CORE_INTERNAL_SITE_SET_BASE_HH
28 # define MLN_CORE_INTERNAL_SITE_SET_BASE_HH
35 # include <mln/core/concept/site_set.hh>
36 # include <mln/core/concept/site_proxy.hh>
54 template <
typename P,
typename E>
72 bool is_empty_()
const;
76 # ifndef MLN_INCLUDE_ONLY
78 template <
typename P,
typename E>
84 template <
typename P,
typename E>
89 return exact(
this)->is_empty_();
92 template <
typename P,
typename E>
95 site_set_base_<P,E>::is_empty_()
const
97 mlc_is(mln_trait_site_set_nsites(E),
98 trait::site_set::nsites::known)::check();
99 return exact(
this)->nsites() == 0;
102 # endif // ! MLN_INCLUDE_ONLY
109 #endif // ! MLN_CORE_INTERNAL_SITE_SET_BASE_HH