When will MS solve the C2797 error ?

Do you see any different (except the variable type) between the 2 class constructors below ?
Person(string first, string second) : firstname{ first }, secondname{ second }{};
Person(char* first, char* second) : firstname{ first }, secondname{ second }{};
The 1st one which use string STL won't compile with C2797 error. But if you change the curly bracket to parentheses (or wrap the curly bracket by parentheses), it can compile.
Person(string first, string second) : firstname( first ), secondname( second ){};
Person(string first, string second) : firstname({ first }), secondname({ second }){};
This problem not yet solve in VS2013 update 4. Or MS prefer C++98 style ?

Hi DHLao,
Thanks for posting in MSDN forum. About compiler error C2797.
https://msdn.microsoft.com/en-us/library/dn793970.aspx
Yes, I can reproduce this issue on my side event with VS 2015 preview. From this blog, we can see C2797 will continue to be present in all future versions of Visual Studio 2013.
http://blogs.msdn.com/b/vcblog/archive/2014/08/19/the-future-of-non-static-data-member-initialization.aspx
Then I find this, it wrote that the compiler error C2797 is planned to be completely fixed in 2015 RTM.
http://blogs.msdn.com/b/vcblog/archive/2014/11/17/c-11-14-17-features-in-vs-2015-preview.aspx?PageIndex=3
So let's wait for the VS 2015 and see the result. Hope this helps some.
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • When will Apple fix the itunes error that insists the computer is not authorized when it is.

    I know lots of people post solution to this, usually trashing the device and starting with a fresh AID but that is not an acceptable solution.
    APPLE if you are listening, we do not want to have to start from scratch after updating itunes!
    I guess the problem might be linked to the fact that 4 different members of the family use itunes for their device but I am sure this is not unusual.
    It is unacceptable for the software to screw up like this, it seems to completely lose track of which ID is used for which device and now will not sync, saying
    And when I go through authorization again

    These are user-to-user forums, you are not talking to iTunes Support nor Apple. If you think that there is a bug then use the feedback page to report it to Apple : http://www.apple.com/feedback/itunesapp.html
    The account that was used to purchase 'CBi' is authorised, as is any other account that has content in that iTunes library and/or on the devices that are synced to it ?
    If you being repeatedly asked to authorise an account : iTunes repeatedly prompts to authorize computer to play iTunes Store purchases

  • When will Apple have the audio driver problems repaired?

    Cannot find Audio Devices !!!!!!?????
    No Cuebase ???? No Presonus hardware interface !!!
    Now that all new macs ship with OSX Lion when Will Apple solve the problem I would have thought the engineers would have seen this coming and thought this through.
    I had to downgrade back to Snow Leopard!! The whole incedent cost me valuable time and money
    I loved the Lion interface but c'mon guys ...!!! did you hire a bunch of laid off microsoft windows Vista programmers or something? 
    I can't believe you all made such an obvious mistake "not making OSX Lion backwards compatible with Snow leopard proven third party drivers"
    I did not expct this from Apple ..What a disapointment ......

    It's up to Samsung to do that, not Apple. You need to ask them.

  • HT1414 I have broken the glass on my ipod touch. I am having trouble with some of my apps opening when I touch the screen. Can the glass be replaced? Will that solve the problem?

    I have broken the glass on my ipod touch. I am having trouble with some of my apps opening when I touch the screen. Can the glass be replaced? Will that solve the problem?

    Very likely yes.
    Apple will exchange your iPod for a refurbished one for $199 if a 64 GB 4G, $99 for the other 4G iPods and $149 for a 5G. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit

  • HT203200 How can i solve the -50 error when downloading video from itunes??

    How can I solve the -50 error when downloading video from itunes.   The apple support people cannot even figure it out!??

    The 2330 error often means some sort of damage to the filing system as might happen if the battery fell out while the disk was in use.
    Try running a disk check to see if it finds and fixes any errors.
    http://support.microsoft.com/?kbid=315265

  • How to solve the 404 error

    Hi,
    How to catch or solve the 404 error in application.
    Some time we are giving some file name but that file is not avialable at that time it will give 404 error. how to avoid this error.
    If 404 error comes i want call some other file. Is it posible.
    Thanks Advance.

    Yes, this is because IE 5.5 (?) and higher have this wacky "Show friendly HTTP error messages" setting. You can disable this by going to tools -> internet options -> advanced and unchecking "Show friendly HTTP error messages". However as the default IE setting has "Show friendly HTTP error messages" enabled this isn't a good solution.
    I believe that if your error page is less than a certain size (in bytes) then IE defaults to it's own error page when "Show friendly HTTP error messages" are enabled. This size is something like 512 bytes or fewer in length.
    So basically try making your error page larger (more than 512 bytes in size) and see if that works.

  • When will BT upgrade the Canford Cliffs Exchange i...

    When will BT upgrade the Canford Cliffs exchange in Poole, Dorset?
    The exchange is in a busy area with a large number of houses and apartments.  Also it is still only an up to 8Mb exchange and whilst other areas have had 24Mb for years and are now being upgraded to BT Infinity.  This exchange still isn't even down for an upgrade to 20 or 24Mb, let alone BT Infinity.
    If anyone knows otherwise, i'd be grateful if you can inform me of this.
    Solved!
    Go to Solution.

    I've done the leg work around multiple Sites and your correct your exchange is'nt marked down for 21CN WBC thats upto 20 Meg Broadband and no Infinity Date either, So unfortunately 992.1 or upto 8 meg max is all thats available to you at present.
    Kindest Regards
    IceZaroth
    BT Community Helper

  • When will Apple correct the CD insert printing problem with 11.02.26?

    When will Apple correct the CD insert printing error in itunes 11.02.26?

    Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ORA-00942: table or view does not exist

  • HOW TO SOLVE THE R6034 ERROR IN ITUNES INSTALATION

    I need toknow how to solve the R6034 error in itunes instalation becouse y can´t buk up muy phone

    How to solve this ?
    #import <UIKit/UIKit.h>
    int main(int argc, char *argv[]) {
        NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
       -> int retVal = UIApplicationMain(argc, argv, nil, nil);
        [pool release];
        return retVal;

  • I have 2 iphones registered under the same appleID.  Every text message that is sent to my phone, the other phone receives as well.  If I turn "imessage" off on the other phone, will this solve the problem from her receiving text messages meant for me?

    I have 2 Iphones, registered under the same AppleID. Mine, and my mom's.  I recently (today) did the software udate for her phone, and ever since-she receives every message i send to my girlfriend, and every response that my girlfriend sends to me.  I read up on Imessage, and checked the settings on both phones.  On each phone "imessage"was turned on, so i turned Imessage off.  Will this solve the problem of my mom receiving every message that  i send and receive? Also, if i turn Imessage back on, on my phone-will i still have privacy to text?

    Why not create a second Apple ID?  Wouldn't that solve the problem much more straightforwardly?
    Here's a helpful website: http://www.apple.com/support/appleid/

  • When will I get the Certificaton after the sucessfully completing the exam

    Hi All,
    I have done with my cerifiction SAP Certified Development Associate - ABAP with SAP NetWeaver 7.0(C_TAW12_70)
    on 25th feb 2011 and sucessfully completed with 88% of marks .But they are not provided any certficaton till now.do you have any idea when will I get the certificaton?
    Thanks in advance.
    Regards
    CB

    >
    channappa  sajjanar wrote:
    > Hi All,
    >  I have done with my cerifiction SAP Certified Development Associate - ABAP with SAP NetWeaver 7.0(C_TAW12_70)
    > on 25th feb 2011 and sucessfully completed with 88% of marks .But they are not provided any certficaton till now.do you have any idea when will I get the certificaton?
    >
    >
    > Thanks in advance.
    >
    > Regards
    > CB
    Hi CB,
    I cleared my certification in BI on 4th Dec 2010 and received the certificate on 25th Feb, idealy it takes this much time and they will not give any other mail or nething which states that u have cleared the exam.
    Thanks
    Dipika

  • HT202159 I was downloading a app from the app store and it downloaded about 85% then gave an error message download failed but when I reopen the app store to the purchases the resume button show but when i click it the same error comes up failed to downlo

    I was downloading a app from the app store and it downloaded about 85% then gave an error message download failed but when I reopen the app store to the purchases the resume button show but when i click it the same error comes up failed to download

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select
    /var/log ▹ install.log
    from the hierarchical list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • When will LightRoom support the Panasonic DMC-GH4 camera?

    When will LightRoom support the Panasonic DMC-GH4 camera?

    Adobe rarely comments publically about future support; however, a new camera is usually supported in the next version of Adobe software.  LR comes out every 3 or 4 months and LR 5.4 was released April 7, with a beta a few weeks before then, I’d guess it won’t be too much longer, unless there is some special problem with GH4 support.
    The betas are available on http://labs.adobe.com/ so that is the first place to periodically check.
    With LR 5.4 there wasn’t a public beta (release candidate) due to the newly added Lightroom Mobile feature that Adobe wanted to keep secret until it was actually for sale.

  • When will Sweden get the new v20 firmware for N97?...

    OK, third attempt. This time I will not make any harsh comments directed at Nokia as they have threatened to remove my account.
    Please, please, pretty please with sugar on top, when will you release the v20 firmware for unbranded Swedish N97? I would be super-duper happy if you would release it very, very soon and I would be even more happy if there was any kind of schedule for the release. I see that many, many other regions have it already but not the Nordic countries.
    Former owner of E90, N97 x2, E72, N8 and current owner of E7.

    Sadly all you can do is wait like many people in many other countries have to do.  Shouting, ranting, threatening nokia on this forum will not get you any results whatsoever.
    Nokia will not give you a date for a specific country, they never do because in most cases they do not know.  Different countries have different approval processes and some are more efficient than others.
    Take a look at the software updates board and see how many people are in the same boat as you.  UK users have been especially vocal about it on a thread that I started. We managed to keep that thread constructive which lead to comments from nokia and coverage in the UK press.
    It's a poor situation that for the moment we are stuck with.  Anyone that doesn't like it is welcome to foot with their feet.
    As for v20 on the N97 you really need to fully reset the phone (dial *#7370# which wipes all data from phone memory) after installing it to get the most out of it.  Before a reset it's ok, after it's been great for me so far.
    Also for the lens and GPS issues it's entirely at the care points discretion if they lend you a phone or not.  Care points are independent companies, not run by nokia.  Again some are more efficient than others.
    Message Edited by psychomania on 30-Oct-2009 01:22 PM

  • I have just purchased a compilation album but some of the songs haven't downloaded, even though I have paid for them. Why is this and when will i get the songs that I have paid for?

    I have just purchased a compilation album but some of the songs haven't downloaded, even though I have paid for them. Why is this and when will i get the songs that I have paid for?

    Hi there cortleavis90,
    You may be able to download the purchases from the Past Purchases section of the iTunes Store. Take a look at the article below for more information.
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht2519
    -Griff W.

Maybe you are looking for

  • Need help in creating value set

    hi frs, i have created report with parameter status and registerd in apps. i need create valuet set like having values like below approve, cacel, pending, close, all all should contain values like approve,cacel,pending,close how to create value set o

  • Upgrade CUCM 9.1 to 10.5

    Hello, I am looking for the recommended upgrade path for CUCM 9.1 to 10.5. The installation consists of a publisher and a subscriber (different locations) and we are using UCS C240 servers. Which procedure would minimize the down time? Can we create

  • Error 51 when upgrading iphone 6 to ios 8.1.3.

    looks like the serial number is lost when preparing the phone for the update. can't be verified by apple servers. tried to restore. nothing; still not recognized. tried dfu, same result. basically, i have a large, expensive brick

  • How to stop a refresh job

    Hi, on 10g R2 Win 2003, I have 10 refresh jobs running since 10 Jan. What is the best way to stop them ? In DBMS_JOB package I do not see STOP or KILL option. SUBMIT procedure   Submits a new job to the job queue.  REMOVE procedure   Removes specifie

  • I don't have passcode lock option in my iPad 3 ???

    I can't set a passcode lock pass ? This option is not available in the settings ?? I'm using the new iPad ( iPad 3 wifi )