« first day (457 days earlier)      last day (4506 days later) » 

1:00 PM
@thecoshman There was another link earlier in the same conversation -- one carrier wants to disallows users of their devices (iPhones?) from using Skype. Not the same as banning.
 
No!!! I know how this will end. Someone will eventually tell me to read the newbie hints again.
 
@Int notice that this message dose not have a wee arrow at the start. that' because I just did a @Int rather then :2379386
@IntermediateHacker it will never end
@LucDanton I thought that article was saying a country was banning it, joining other countries that already have banned it, including Germany
 
Don't use @Int , it makes me look like a f*cking integer.
 
way, is @char[4] any better?
 
@thecoshman Joining other countries that are also paraonid.
 
1:02 PM
I guess we'll have to ask @sbi whether skype is banned in Germany or not.
 
@RMartinhoFernandes I took it mean are also paranoid enough to ban Skype
 
Parse error.
 
@thecoshman At least use a c++ @std::string!
 
sbi
@IntermediateHacker Why would it be? My daughter would die if it was banned. (She's spending as much time as she can wrestle from her schedule skyping with her boyfriend.)
 
@IntermediateHacker but @std::string would be painful to be unioned with @int
@sbi is that what the kids call it these days :P
 
sbi
1:06 PM
@thecoshman Since he is about 3,500km away, I have to assume that they are, mostly, talking.
 
Public Announcement: I am not @Int. You can call me @IntermediateHacker or just @Intermediate, or even just @Hacker. but not @Int.
 
@IntermediateHacker ¬_¬@int is so much easier to type
 
sbi
@the is easier, too, you know.
 
1:07 PM
@sbi it sure is :D
 
My life sucks.
Biology Class -> 19 girls (most of them hot)
IT Class -> 8 girls
Economics Class -> 11 girls
Add-Maths Class (I take this) -> 2 nerdy girls with acne.
 
Cue "makeup of outer shell" remark by @sbi.
 
wow
0
Q: Shared libraries between wars

JavierI use server glassfish and maven, I have many wars deploy and each one have their libraries. Many of them use same libraries and I want to extract this libraries out of the war. I try to put them in a folder /lib of the server and put provided scope on the dependency of the war, but this don't wo...

lol @ title
 
I'm starting to think being FOREVER ALONE is a professional hazard of an engineering career. :(
 
@RMartinhoFernandes explain ¬_¬
 
1:12 PM
@IntermediateHacker I think so
 
@IntermediateHacker your a bit slow aren't you :P
 
Nov 6 '11 at 11:21, by sbi
There are way more important features in a girl than the makeup of her outer shell.
 
@TonyTheLion wars is a thing when dealing with Java don't you know
@RMartinhoFernandes ah.
 
@thecoshman lol
 
@TonyTheLion what? they are :(
 
1:14 PM
fine
 
what's the makeup of her outer shell ™?
 
Seriously, you need that explained?
 
well... you can have a 'war' not sure what exactly they are mind
 
oh , I get it. It means her appearance?
 
1:17 PM
what could possibly be more important than that?
 
sbi
O.M.G.
 
@IntermediateHacker not wanting to eat you insides?
 
her attitude? her ego?
 
lol, I know. I was just joking. That's what my mom lectures me 24/7
 
now isn't the term Modern C a contradiction? C is about as old as it gets...
 
1:18 PM
appearance doesn't matter. look at her **personality** etc.
 
I think her status as a zombie is the most important thing
 
@thecoshman lol.
 
if(girl.zombie()){
    kill(girl);
} else {
    // do stuff
}
 
"do stuff".
 
"stuff" eh...
 
1:24 PM
@RMartinhoFernandes would you have proffered it if I said 'insert code here'
 
you wanna insert code into her va...... ??!
 
I'm not at all surprised.
 
@TonyTheLion what?! I am in no way saying my only requirement to have sex is that she is not a zombie
just that if she is a zombie, kill her
 
sbi
@TonyTheLion Well, looking at it from 2012, it's not that much older than C++, you know.
@thecoshman Isn't the point of being a zombie that you are already dead?
 
Unkill the undead!
 
Xeo
What does the "Level" at the bottom mean?
 
@sbi ¬_¬
 
sbi
@Xeo If it's at the bottom, it's likely the bottom level...
 
hmm... ...too bad thread-local-storage in gcc is only for trivial-types - I wonder if this is true for other compilers, too (part of language spec?)
 
1:30 PM
@sbi ¬_¬
 
@kfmfe04 huh?
 
@kfmfe04 TLS on GCC is not yet as per the spec.
 
__thread seems to work - maybe it's experimental?
 
user406009
@kfmfe04 Store a pointer to your non-trivial type. Problem solved.
 
I hate capthcas or what ever you call them
 
1:32 PM
@EthanSteinberg aye - that's the work-around I will have to use
 
What do you think of SHRIMP as a programming idiom?
 
@kfmfe04 It's an extension. The standard uses thread_local.
It's not supported yet.
 
@RMartinhoFernandes - ic - thx for the heads-up - I will use thread_local typedef'ed instead of __thread directly then
 
user406009
I would use boost's threading implementation if I was you.
 
0
Q: How to convert unicode to ASCII?

AminI must remove Unicode characters from many files (many cpp files!) and I'm looking for script or something to remove these unicode. the files are in many folders!

 
sbi
1:33 PM
For those of you who have kids, do not give them this for their birthday. (Granny wouldn't approve.)
 
@thecoshman lol
 
"must remove unicode characters"??
 
user406009
Much more complete than most standard libraries as of now.
 
sbi
@KerrekSB Nice comment!
 
1:34 PM
@EthanSteinberg lol, "as of now" and you posted a link to 1.35 docs ;)
 
@sbi The comment is a boolean joke - funny because it's true.
 
> Un vrai mini canon qui marche avec des mini boulets et de la poudre.
Sounds fun!
 
user406009
@RMartinhoFernandes I hate how google always gives you the old links. Already fixed.
 
@EthanSteinberg I am currently just using C++11 threads until the rest of boost threads become accepted as part of the standard
 
why do I get the feeling ending my phone contract is going to be a pain in the arse
 
sbi
1:35 PM
@RMartinhoFernandes That sounds like you hadn't seen the video yet.
 
@thecoshman because it is
 
@sbi What video? I guess I need to turn on the fancy Internets to see it.
 
sbi
@RMartinhoFernandes Ah, Ok, I needed to do that, too. You need to enable the site itself plus some cdn URL.
 
"SMALL BALANCE WRITE-OF" that's very kind of you Mr Bank :D
 
Oh, I've seen that before on YouTube.
 
Xeo
1:38 PM
Hm. My compilations with VS are taking longer and longer.
And actually, it's not the ClCompile that's taking so long
 
@TonyTheLion ¬_¬ so it seems
 
@thecoshman Just stop paying them.
 
Xeo
1>ClCompile:
1>  main.cpp
1>ManifestResourceCompile:
1>  All outputs are up-to-date.
// insert extremely long pause here
1> ....
 
The long pause is commented.
 
@RMartinhoFernandes that's one plan, but it will not stop them from claiming I owe them money
 
1:43 PM
> So I decided to write a ray tracer the other day, but I got stuck because I forgot all my vector math.
Who would've thought vector math would come in handy in a raytracer?
 
@RMartinhoFernandes what? why would you use vector maths in a ray tracer?
 
@RMartinhoFernandes I recently decided to start an investment business, but on my first day in my new office I discovered I had forgotten all my economics.
 
Xeo
@thecoshman Because you need it?
 
@Xeo No, silly, you only need ray math, obviously.
 
Xeo
Heh
 
1:46 PM
There's this scene in Family Guy where the four guys are in a band and perform in prison.
 
Xeo
I kinda hate raytracing. Or more specifically, going from the 2d plane, to the 3d space through the 4d space...
 
They count in "one-two-three-four", and then remember that they don't actually know any songs.
 
> EDIT: Note that the intent is for memory to be allocated by the memory pool and released by the objects, which may have different lifetime. If this is possible at all...
 
Xeo
The intro is so awesome.
 
1:51 PM
OMG. Why do people like to inflict pain upon themselves?
0
Q: An inquiry on memory pools in c / c++

ddriverIs it possible to create a memory pool implementation that follows the simple logic: 1 - Allocate n bytes worth of memory pool. 2 - Use modified new(); function/operator that does not allocate memory only gets a pointer to the beginning of the memory pool. This way objects are created dynamical...

 
@Xeo that appears to be using time on linking.
 
oh shit...
a) to close your account, you need to upgrade your account see b)
b) to upgrade your account, please provide your account number see c)
c) to get your account number, please upgrade your account see b)
 
Xeo
@AlfPSteinbach Nope, the next step is "Manifest:", after that is linking
 
@Xeo it looked like you wrote first "Manifest", then pause?
> 1>ClCompile:
1> main.cpp
1>ManifestResourceCompile:
1> All outputs are up-to-date.
// insert extremely long pause here
1> ....
dunno, it's borken
 
sbi
:2379935 "Markdown...totally fails for multi-line messages. Apparently, that's by design." loungecpp.wikidot.com/owners%3Anewbie-hints#toc1)
 
Xeo
1:55 PM
1>Build started 16.01.2012 14:55:00.
1>InitializeBuildStatus:
1>  Creating "Debug\Blargh.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1>  main.cpp
1>ManifestResourceCompile:
1>  All outputs are up-to-date.
1>Manifest:
1>  All outputs are up-to-date.
1>LinkEmbedManifest:
1>  All outputs are up-to-date.
1>  Blargh.vcxproj -> F:\Code\C++\Blargh\Debug\Blargh.exe
1>FinalizeBuildStatus:
1>  Deleting file "Debug\Blargh.unsuccessfulbuild".
1>  Touching "Debug\Blargh.lastbuildstate".
Is the full build log
Where over 8 seconds are spent doing nothing directly before Manifest:
 
@sbi :(
 
Xeo
@sbi Oh, another point for multiline markdown?
 
@Xeo well that looks like the "manifest tool" is using some time on merging and silly stuff. why don't you just turn it off and include your own little hand-crafted manifest? it's one line in the resource script + an XML file with mostly boilerplate code
 
@Xeo By my counts, it's at 22.
 
^ oh, disclaimer: i don't really know that that will work, just a hunch
 
Xeo
1:58 PM
@AlfPSteinbach The strange stuff is, when I started the project, that part was instant. it gradually worsened, then at some point reset again, and started worseing again
and so forth
 
@Xeo maybe it's like the windows installer which generated 42+ GiB of log files on my machine? maybe deleting all generated stuff might help?
 
Gosh, what did you install?
 
Universe.
 
is there an advantage to having a template wrapper for a function that just calls the an overloaded function which calls the correct builtin/intrinsic?
 
@RMartinhoFernandes apparently it just accumulates. windows installer is the worst shitware to ever be produced by anyone, i think. it brought my previous machine to its knees, and now (two weeks ago?) this one. it's really bad.
 
Xeo
2:02 PM
lol
 
@AlfPSteinbach You're doing it wrong.
 
Xeo
after cleaning the soluion (all output), the build doesn't even include "ManifestResourceCompile" and "Manifest" ...
And it's blazingly fast again when recompiling
Seems like it has something to do with incremental linking or somesuch stuff
 
It's called "incremental linking" because it increments link time.
7
 
@rubenvb most installations don't offer any choice, so there's no way to "doing it wrong".
 
Well, in theory you can silence a general msi
 
2:04 PM
@rubenvb If the wrapped function is already overloaded for all supported types, then probably not really.
 
@AlfPSteinbach see here
it's really not normal
lol, you can even install an msi to fix it for you: support.microsoft.com/kb/223300
 
@rubenvb oh goodie, it can apparently be turned off. i'll have to hunt for that option. but the whole thing is just very shitty, so maybe there is no UI to turn it off
 
lol an MSI fix.
 
@AlfPSteinbach it shouldn't be turned on by default...
 
MSI logging is a diagnostic tool, it's not on by default.
 
2:11 PM
Well, I haven't turned it on.
Apparently, to turn it on manually, you have to change a number of registry entries, or create them.
 
ah, the windows registory. where all the undocumented features dwell
 
Yes, undocumented config files would be much better.
 
I never understood all the registry hatred.
 
Indeed. I don't see a real difference between the registry and a bunch of /etc/ config files
 
I don't hate it. I just think that it makes much more sense for programs to keep there own config file and leave the registry for more global things. so file association, registry, preferred font size in notepad++ config file
 
2:17 PM
Same crap.
At least Registry tries to maintain common structure.
 
I actually think the registry is a fairly neat way of storing a system configuration, but like most good ideas has been beaten to a shitty pulp
 
/etc/ is basically hell on wheels.
 
good point, what does 'etc' even mean in this case?
and if I am not mistaken, the actual programs are not store in etc are they
 
Et caetera.
 
2:19 PM
Et tu, configuration?
 
The Filesystem Hierarchy Standard (FHS) defines the main directories and their contents in Linux operating systems. For the most part, it is a formalization and extension of the traditional BSD filesystem hierarchy. The FHS is maintained by the Linux Foundation, a non-profit organization consisting of major software and hardware vendors, such as HP, Red Hat, IBM and Dell. The current version is 2.3, announced on January 29, 2004. Overview Most Linux distributions follow the FHS and declare it their own policy to maintain FHS compliance. When the FHS was created, other UNIX and Unix...
 
user406009
I prefer /etc/ to the registry.
 
@RMartinhoFernandes I new etc meant that, but didn't think it would do in this case
 
user406009
Easier to change stuff.
 
"Extended tool chest"
 
2:20 PM
Easier to change what stuff?
Every bloody thing has its own format.
 
Besides, I think GNOME developed a Registry on its own some time ago.
Except it uses XML.
 
no one really knows what the registry uses
where's the file anyway?
 
personally, /path_to_profram_binary/settings.config makes the most sense to me, or what ever you want to call it. basically, binary and config in the same folder together
 
user406009
@CatPlusPlus It's pretty simple to open up /etc/ssh/sshd_config and change settings.
 
user406009
2:22 PM
Much simpler than trying to do that with registry.
 
@EthanSteinberg It's pretty simple to open up regedit and change settings.
 
@rubenvb Because there's no need to. The WinAPI provides all you need.
 
@thecoshman That's undoable if you want to maintain least privilege principle.
Well, unless you cheat.
 
It's funny that MSDN never mentions "Visual C" as a language.
although their API is basically C.
 
huh, it's a shame that some of /var is meant to be persistant, would make it a lot easier to set up a RAM disk (I have no idea how big /var gets, so have no idea if it is practical to have most of /var in a RAM disk)
 
2:30 PM
There's no 'Visual C'.
Why would you want /var on a RAM disk?
 
Visual C is an ID
 
I find it unfortunate that x86 intrinsic headers (emmintrin.h and friends) somehow include stdlib.h
 
Terrible.
 
@CatPlusPlus from looking at that article on FSHS most of /var is temp stuff, thus raw speed
 
/var is a bottleneck?
 
2:32 PM
@thecoshman you could mount those persisten parts to real disks, and the rest of /var to ram?
 
Temp stuff is /tmp.
 
@rubenvb sure, but that would be a dam site more effort :P
 
Only temp stuff in /var are things like sockets and PID files.
Besides, there's a reason there's both /var/tmp and /tmp with a persistence distinction.
Makes no sense to put /var on a RAM disk.
 
Arch makes /tmp 500 MB by default, which really sucks
 
@EthanSteinberg quick question - how do I clean-up/delete the pointer if I use a pointer to a complex type for TLS? it almost seems I need to detect when the thread exits and attempt to delete then...
 
user406009
2:36 PM
That's what that boost class does.
 
what's the name of the specific boost class I should use? I'll have a look (ty)
is it boost::thread_specific_ptr?
 
user406009
Yeah.
 
great - tyvm
 
user406009
I swear, en.cppreference.com/w/cpp is the best thing to come to the world of C++. How else would I pretend to know what I am talking about on IRC chat?
2
 
@EthanSteinberg Too bad it's so incomplete on C++11
 
2:41 PM
I need a nap.
Lately my work day seems to have completely shifted into night hours.
 
@CatPlusPlus sigh, "a cat nap lol"
 
Damn university.
Worst part, there's still at least two weeks full of exams ahead.
My brain is over capacity. I have to double check my name sometimes.
Anyway, later.
 
just noticed the room description; can some explain please?
 
@Xeo try again.
 
are you seeing the same description as me?
 
Xeo
2:46 PM
Oh
Somehow I saw the old one
 
It's called hallucination. Most commonly found as a side effect of using drugs.
 
Xeo
Yesterday, we helped @angryInsomniac fix some minor bugs and leaks in his code. Since he was pretty reluctant to show any code, we were actually hunting the bug down. At the beginning it was three people, that's why the topic.
Also, this:
Rubber duck debugging, Rubber Ducking, or the Rubber Duckie Test is an informal term used in software engineering to refer to a method of debugging code. The name is a reference to an apocryphal story in which an unnamed expert programmer would keep a rubber duck by his desk at all times, and debug his code by forcing himself to explain it, line-by-line, to the duck. The process is to meticulously explain code to an inanimate object, such as a rubber duck. It is expected that when the programmer comes across a piece of code that is incorrect, they will realize this. Other debugging usa...
 
@Xeo I see, rather clever
now I know why I have a Gnu :D
 
@thecoshman wut? pic?
 
Other debugging usages

In some cases, the squeaky sound of the rubber duck is used to announce bugs found, usually in integration between different programmers. The better programmer squeezes the duck in order to humiliate and assert his domination over the lesser programmer in front of his peers.
@sehe no camera... but hang in the second...
him :D
 
2:53 PM
real size?
 
@sehe scale. stands about 3" tall
 
@EthanSteinberg boost::thread_specific_ptr<> passed my simple valgrind/drd tests - thx again - will use this in production
@thecoshman rubber ducky kicks ass - gotta go get myself one
 
@kfmfe04 Gnu > Duck
 
Gnu is too clever for the task!
 
3:09 PM
@kfmfe04 He has a suitably patronising look
 
user406009
I am trying to take a function member pointer + args, bind a "this" pointer, then push it on a queue of std::function<void()>
 
user406009
Is the following right:
 
user406009
template<typename Func, typename ...Args>
   void pushIn(Func func,Args&& ... args )
   {
      myQueue->pushIn(std::bind(func, static_cast<T*>(this),std::forward<Args>(args)...));
   }
 
user406009
In terms of perfect forwarding and whatnot?
 
@thecoshman hahaha - true! but in explaining unnecessarily complex code, I must dumb it down for a rubber ducky (clarifying things for me) while a Gnu will understand the most complex of algorithms!
 
3:19 PM
@rvalue Yes
 
How come MS has implementes all C99 math functions as C++ in <amp.h>?
 
@rubenvb because it does them in massively parallelizable fashion?
 
@sehe pfff. Ridiculous basterdz
they have a non-AMP version of the function, somewhere
if DX11 is not installed, that version is used
Let me check dumpbin /exports on msvcr100.dll
grumble
 
@rubenvb huh, wouldn't the used function be decided at compiletime/preprocess time? I'd expect them to be in their own namespace (though I haven't used amp/Math Lib)
double numbers[] = { 1.0, 10.0, 60.0, 100.0, 600.0, 1000.0 };
array_view<double, 1> logs(6, numbers);

parallel_for_each(
    logs.grid,
    [=] (index<1> idx) mutable restrict(direct3d) {
        logs[idx] = concurrency::log10(logs[idx]);
    }
);

for (int i = 0; i < 6; i++) {
    cout << logs[i] << "\n";
}
Seems to suggest concurrency:: is the magic word
 
@sehe the link you posted says: If DirectX 11 is not present, a non–C++ AMP version of the code is executed.
still, the parallel version is just some DirectCompute crap anyways. It all boils down to C somewhere
or assembly
msvcr110.dll doesn't have asinh :(
 
3:30 PM
@rubenvb That's a pretty moot point. Doesn't it always boil down to some form of assembly. What did you expect? Fairy dust?
 
guess I'll craft my own
@sehe I'm talking about compiler intrinsics, or some library function written in assembly from the get-go
 
Assembly in itself isn't 'better'. Most often, the right kind of plain C with proper alignment + optimization flags compiles in the optimal assembly
 
@sehe then why does GCC have builtins?
 
3:46 PM
hmmm, my intrinsic hackery works... sometimes
wow my asinh(double) produces a stack overflow. Huh.
 
@rubenvb ¬_¬ how?
fairly sure you'r doing it wrong
 
well, if I call the overloaded function that just calls my define'd __builtin_asinh, it SO's. If I call the inline double asinh(const double x) { return log(x+sqrt(x*x+1)); } directly, everything is fine
this is MSVC11 btw
 
@rubenvb #defined? really?
 
@thecoshman and undefined aftwerwards. Check it out: github.com/rubenvb/KISS/blob/master/include/math.hxx
MSVC doesn't provide any other certain way to use math functions without <math.h>.
 
@rubenvb which builtins are you referring to?
 
3:53 PM
@sehe MSVC compiler intrinsics, hacked around to be able to be used as GCC's __builtin_* functions. Check my link.
 
nm i found them in the github link
 
and the float version works just fine
obviously, GCC's __builtin_* version works just fine
hmm. The float version seems to link to logf and sqrtf in libcmt
and the double version does that if I don't call the wrapper, but the implementation directly.
Ah, dang. The compiler may call the function and not replace the function call with inline instructions, if it will result in better performance.
 
*uck! template aliases don't make it into gcc until 4.7
 
When is GCC 4.7 expected to be released?
 
Clang does not have __builtin_labs and probably others
Nooooooooooooo!
 
4:09 PM
not sure - I hope it'll be in Ubuntu 12.04 - had too many headaches with multiple gcc installs in the past to attempt it before it hits standard packages...
 
Ubuntu doesn't like 4.7?
 
@kfmfe04 use a PPA? (eg this one: launchpad.net/~ubuntu-toolchain-r/+archive/test)
 
@Xeo Actually, I just took the classic line "Rub a dub dub, Three men in a tub" and twisted it a little. The fact that it's 3 is pure coincidence :)
"Rub-A-Dub-Dub" is an English language nursery rhyme. It has a Roud Folk Song Index number of 3101. Lyrics This rhyme exists in many variations. Among those current today is: :Rub-a-dub-dub, :Three pigs in a tub, And how do you think they got there? :The butcher, the baker, :The candlestick-maker, :They all jumped out of a rotten potato, 'Twas enough to make a man stare. Origins and meaning The earliest versions of this rhyme published differ significantly in their wording. The first recorded version is in Christmas Box published in London in 1798 has similar wording to that in Mother G...
 
@rubenvb will 4.6.1 and 4.7 live peacefully side-by-side (in case I need to revert to 4.6.1?) should I install the PPA on top of a standard 4.6.1 install?
 
 
4:15 PM
@FredOverflow huh, that's a new one on me. I only ever new "Rub a dub dub, thanks for the grub"
@Pubby ಠ_ಠ
 
@kfmfe04 as peacefully as the gcc and gcc-4.4, gcc-4.5, and gcc-4.6 packages have lived side-by-side for...ever.
 
@rubenvb - ok - I will try it out this weekend - ty
@rubenvb I think my previous nightmare may have been due to having 32-bit and 64-bit versions of gcc on the same machine - can't quite recall (a while back)
 
@kfmfe04 ah, well, they invented multilib for that.
otherwise everything might end up in the same /lib
 
@rubenvb - aye - remember the rationale behind it, but just lost a ton of time getting it to work properly
(which I don't think I did)
 
Well, Clang and GCC both get my _builtin stuff. I'm ditching MSVC
Stupid compiler
 
4:29 PM
@rubenvb you're using Clang and GCC to compile .Net code?
 
@kfmfe04 uh, no, that's good old twisted C++
 
hehehe - ic
 
How can I do something in CMake only for Clang?
 
14
Q: Switching between GCC and Clang/LLVM using CMake

RezzieI have a number of projects built using CMake and I'd like to be able to easily switch between using GCC or Clang/LLVM to compile them. I believe (please correct me if I'm mistaken!) that to use Clang I need to set the following: SET (CMAKE_C_COMPILER "/usr/bin/clang") SET (C...

 
no, I need the analog of if(CMAKE_COMPILER_IS_GNUCXX)
 
4:38 PM
woah, I just found a solution to the issue I'd been trying to fix for ages
just using the right library was enough, one optimized for speed :)
 
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
If anyone else is interested :)
 
@rubenvb - how do you find the C++11 feature-set & build quality (speed, size) of llvm vs gcc? I know the real answer will probably be very code-specific, but I'm just curious as to your experience...
 
@kfmfe04 C++11 compiler is lacking constexpr, lambda's and initializers. The library is either libstdc++ or the feature-complete (except atomic) libc++. Speed/size is not really relevant, I use Windows, and code generation is still not always correct.
I use it for code checking, and nice template error messages
 
ah... ...nice template error messages would be a major plus (but very hard to go back to no lambda's after you've had them) - will keep an eye out on llvm's progress - thx
 
You can easily check Clang's current c++11 status here: clang.llvm.org/cxx_status.html
initializer lists is being worked on by some Apple dude, so that should be in for 3.1
 
4:47 PM
nice - that's another one to look forward to (for cleaning up code)
 
0
Q: How should i write a copy constructor in case of Singleton class and how should i overload = operator for same?

RiteshHow should i write a copy constructor for my singleton class to prevent the creation of a new object as i already have one . And what is the best practice to overload = operator for same # include<iostream> # include<stdio.h> # include<conio.h> using namespace std; clas...

It's singles' night again!
 
rofl
 
Looks like someone really only wants one Rect.
 
I think that dude needs to talk to the Rubber Ducky
 
4:57 PM
not sure what's worse, singletons or static classes
 
@AlfPSteinbach thanks. One sec :)
 

« first day (457 days earlier)      last day (4506 days later) »