Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6081799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:12:58+00:00 2026-05-23T11:12:58+00:00

I have some class like : template<int DIMENSION, typename T> Vector { … }

  • 0

I have some class like :

 template<int DIMENSION, typename T> Vector { ... }  

Now, I want to specialize the typename and provide a new type using a typedef. I thus found an answer on StackOverflow at C++ typedef for partial templates

I thus did :

template < int DIMENSION> using VectorDouble= Vector<DIMENSION, double>;

This does not compile (error C2988: unrecognizable template declaration/definition). Is this because my compiler (Visual Studio 2008) doesn’t allow it, or did I miss something ?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:12:59+00:00Added an answer on May 23, 2026 at 11:12 am

    The answer you refer to says:

    If you have a C++0x/C++1x compiler

    C++1x is not yet current, so most compilers don’t support its features. In particular, VC++9.0 (VS2008) has almost no support for them. VC++10 (VS2010) does support some features, but I don’t know if what you need is one of those.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class template <typename T> class C { static const int K=1;
I have a template class like below. template<int S> class A { private: char
I have some classes layed out like this class A { public virtual void
I have some logic, which defines and uses some user-defined types, like these: class
Say I have some code like namespace Portal { public class Author { public
Let's say I have some classes like this: abstract class View(val writer: XMLStreamWriter) {
So I have a class is something like this public class Order { //some
I have a base class vehicle and some children classes like car, motorbike etc..
I have a Linq-to-SQL class, and I'd like to perform some pre-save validation before
Let's suppose I have xml like this one: <Server Active=No> <Url>http://some.url</Url> </Server> C# class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.