Click here to Skip to main content
16,021,890 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionVS skips $include "stdafx.h" Pin
bkelly131-Jun-15 9:38
bkelly131-Jun-15 9:38 
AnswerRe: VS skips $include "stdafx.h" Pin
Richard Andrew x641-Jun-15 12:55
professionalRichard Andrew x641-Jun-15 12:55 
GeneralRe: VS skips $include "stdafx.h" Pin
bkelly131-Jun-15 13:17
bkelly131-Jun-15 13:17 
AnswerRe: VS skips $include "stdafx.h" Pin
peterchen12-Aug-15 12:52
peterchen12-Aug-15 12:52 
QuestionC++ 11 std::unique_ptr related compiling error Pin
Falconapollo28-May-15 17:27
Falconapollo28-May-15 17:27 
QuestionRe: C++ 11 std::unique_ptr related compiling error Pin
yufengzjj2-Jun-15 4:19
yufengzjj2-Jun-15 4:19 
AnswerRe: C++ 11 std::unique_ptr related compiling error Pin
Theo Buys8-Jul-15 1:34
Theo Buys8-Jul-15 1:34 
AnswerRe: C++ 11 std::unique_ptr related compiling error Pin
vickoza10-Jul-15 6:23
vickoza10-Jul-15 6:23 
the problem is simple. The code
C++
sheep[0] = ba;
should be
C++
sheep[0] = std::move(ba);
Your first approach used the copy constructor to copy the unique_ptr this defeats the purpose unique_ptr.
Also another issue is:
C++
Baa operator = (Baa&& param)
should be
C++
Baa& operator = (Baa&& param)

QuestionCListBox with wchar or WCHAR, Resolved Pin
bkelly1327-May-15 8:09
bkelly1327-May-15 8:09 
AnswerRe: CListBox with wchar or WCHAR Pin
emadns27-May-15 9:39
emadns27-May-15 9:39 
AnswerRe: CListBox with wchar or WCHAR Pin
Richard MacCutchan27-May-15 21:10
mveRichard MacCutchan27-May-15 21:10 
GeneralRe: CListBox with wchar or WCHAR Pin
bkelly1328-May-15 3:40
bkelly1328-May-15 3:40 
GeneralRe: CListBox with wchar or WCHAR Pin
Richard MacCutchan28-May-15 3:55
mveRichard MacCutchan28-May-15 3:55 
GeneralRe: CListBox with wchar or WCHAR, Problem discovered Pin
bkelly1329-May-15 3:57
bkelly1329-May-15 3:57 
GeneralRe: CListBox with wchar or WCHAR, Problem discovered Pin
Richard MacCutchan29-May-15 4:33
mveRichard MacCutchan29-May-15 4:33 
Questionis it true? fells he is boast, please somebody help me test . Pin
1971 powerChina7-May-15 15:19
1971 powerChina7-May-15 15:19 
QuestionRe: is it true? fells he is boast, please somebody help me test . Pin
ZurdoDev18-May-15 4:54
professionalZurdoDev18-May-15 4:54 
QuestionServer execution failed in MFC COM Pin
Hydera29-Apr-15 23:59
Hydera29-Apr-15 23:59 
AnswerRe: Server execution failed in MFC COM Pin
achal375418-May-15 22:00
achal375418-May-15 22:00 
QuestionCListViewCtrl HitTest problem Pin
ush_28-Apr-15 9:38
ush_28-Apr-15 9:38 
Questioncannot get text of __DATE__ (resolved) Pin
bkelly1322-Apr-15 9:24
bkelly1322-Apr-15 9:24 
AnswerRe: cannot get text of __DATE__ Pin
Richard MacCutchan22-Apr-15 23:19
mveRichard MacCutchan22-Apr-15 23:19 
GeneralRe: cannot get text of __DATE__ Pin
bkelly1324-Apr-15 2:01
bkelly1324-Apr-15 2:01 
Questionfunction to delete a class (resolved) Pin
bkelly1321-Apr-15 3:42
bkelly1321-Apr-15 3:42 
AnswerRe: function to delete a class Pin
Richard MacCutchan21-Apr-15 21:11
mveRichard MacCutchan21-Apr-15 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.