Help us understand the problem. What is going on with this article?

【C++】error C2633: 'identifier' : 'inline' のみがコンストラクターの正しいストレージ クラスです。

More than 3 years have passed since last update.

何か昔同じタイトルの記事を見たことあるって人へ

この記事は昔やってたブログの記事の移植です。
昔の内容で有用そうなものをQiitaに少し修正を加えて移植してます(現在進行形で)。

概要

c2633.cpp
class C
{
  virtual C(); // error C2633
};

C()
{
}

詳細

ようはコンストラクタに[ virtual ]を間違えて付けてしまうとC2633になって死ぬ思いする死ぬ思いしためっちゃ死ぬ思いしたMSDNが何の役にも立たないめっちゃ役に立たない・・・

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away