[ConceptGCC] |
ConceptGCC :Re: Associated type as return type. |
From: hirohito none (hitobasira_at_[hidden])
Date: 2008-08-21 18:00:06
Thank you for teach me a lot.
I think
You have to requires everything for concept including
constructer/destructer, functions which call the concept
concept_map does not allow me to adapt member function
concept does not allow me to require member variable
A default implementation of an associated function is a constrained template
is a bit tedius.
But come to think of it.
If concept will be in the standard and become popular, programmers
write classes for the concept in mind.
so they do not provide member variables directly, and offers
non-member function that is just calling member function or do same
things.
It may solves my concerns that concept is too strict and tedius to use.