« first day (1712 days earlier)      last day (716 days later) » 

12:02 AM
Guys, I'm reading an article and they define a move assignment as

```
module& operator=(module&& that) {
module copy { std::move(that) };
std::swap(handle, copy.handle);
return *this;
}
```
why do they create copy?
 
2 messages moved from Lounge<C++>
 
 
17 hours later…
5:08 PM
Sample code is as below..
`void classname::func(CString& cstrURI, CString& cstrResourceName )
{
std::string strURI = convertstring(cstrURI);
std::string resource = convertstring(cstrResourceName);

URIProcessor uriObj(strURI); //Takes const std::string &
cstrURI = CString (uriObj.ModifyURI(cstrResourceName).c_str()); //ModifyURI returns std::string and takes const std::string& as parameter
}`
 
1 message moved from Lounge<C++>
 
 
6 hours later…
10:43 PM
-.-
_-_
 
@AnalPhabet you're too dumb to see the context, dont worry if you dont understand the flow
 
@AnalPhabet you know what, I see you being a bit aggressive. Maybe just leave it. Righfold isn't complaining, right, and it's their convo
@doug65536 Please. Get a room if you're going to engage like that.
 
that pest has been telling me to leave since I got here
 
@sehe Ooooh! Engagement!
Where's the ring?
 
@doug65536 Chill. It's unfair, but calling names isn't helping
 
10:45 PM
> >pest
 
@AnalPhabet Not the time to be trolling me, friend.
 
lel
 
troll too
you act tough though, telling people to leave all condecendingly
 
14 messages moved from Lounge<C++>
 
I pointed out that the dll couldnt possbly need a symbol from the archive and he asked me to leave. is that me doing something wrong?
 
10:48 PM
@doug65536 The original statement wasn't. Continuing to try to discuss the ensuing argument is.
 
I remember why I dont come here now
 
@doug65536 I've addressed that before. Scroll up in this bin.
4 messages moved from Lounge<C++>
4 mins ago, by sehe
@doug65536 Chill. It's unfair, but calling names isn't helping
That, specifically. Anal what's-his-name was out of line. I addressed that head-on. No need for name calling
 
1 message moved from Lounge<C++>
 

« first day (1712 days earlier)      last day (716 days later) »