how can a class be changed to a function in C++?

55 Views Asked by At
template<unsigned arity, typename Signature, typename Combiner,
    typename Group, typename GroupCompare, typename SlotFunction,
    typename ExtendedSlotFunction, typename Mutex>
  class signalN;
  // partial template specialization
  template<typename Signature, typename Combiner, typename Group,
    typename GroupCompare, typename SlotFunction,
    typename ExtendedSlotFunction, typename Mutex>
  class signalN<BOOST_SIGNALS2_NUM_ARGS, Signature, Combiner, Group,
    GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex> {};

this is a class like as defined above. but, eclipse outline view shows this is a function.

enter image description here

following eclipse icon documentation, this is definitely a function.

https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_icons.htm

how can this class changed into a fucntion?

0

There are 0 best solutions below