Hello!

Does anybody else experience a problem using enable_if templates in Visual C++ Express 2005 SP1? I get compiler errors in this code:


        template<class LookUpType_>
        typename boost::enable_if_c<is_const, result_type>::type
            at(LookUpType_ const& key)const
        {
            return has_key(view_, key);
        }

        template<class LookUpType_>
        typename boost::disable_if_c<is_const, result_type>::type
            at(LookUpType_ const& key)
        {
            return has_key(view_, key);
        }

It blames that type is not a member of enable_if_c or disable_if_c? This is really strance, since this should not be considered by compiler as a possible template instantiation. is_const is an enum value containing either true or false.