Error which is of non class type




















Copyright TechnologyAdvice. CodeGuru Home. Visual Basic. VB Forums. You may have to register or Login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 12 years, 6 months ago. Active 1 year, 6 months ago. Viewed k times. Foo foo1 1 ; foo1. Foo foo2 ; foo2.

I get the following error: nonclass. Improve this question. Add a comment. Active Oldest Votes. Foo foo2 ; change to Foo foo2; You get the error because compiler thinks of Foo foo2 as of function declaration with name 'foo2' and the return type 'Foo'.

Improve this answer. Update By modifying Keyword aux ; aux. Asked By: sniperu. Answered By: sniperu. Answered By: Andy Prowl. You see all this ugly stuff and think that this is language issue. So commitet got a solution to it. To compile cxx11 programms you have to specify a language standart to your compiler. They extended a list initialization syntax and make it unified for all the operations of initialization.



0コメント

  • 1000 / 1000