Lounge<C++>

Today we're daydreaming about C++26 reflection
Jan 14, 2013 22:47
@Crowz But a go is just a command away. In windbg you can do `bp myModule!myFunction ".print It got called!;gc"`
I don't know what the equivalent is in gdb, though.
Jan 14, 2013 03:36
@StackedCrooked And before smart pointers, we leaked.
Jan 13, 2013 16:31
@sehe Reminds me of this old but good one.
Jan 12, 2013 20:28
If that doesn't work, you may need to follow @Griwes's advice and ask in a more formal place like SO proper.
Jan 12, 2013 20:27
@jozefg http://stackoverflow.com/questions/7533321/error-when-compiling-some-simple-c-code
tl;dr Try clang++ to make sure you are linking against the c++ runtime libraries.
Jan 12, 2013 17:18
@GamErix It is the new range-based for syntax.
Jan 12, 2013 16:56
@chris, That is how I was thinking about writing one -- and I still am. KatMouse injects a dll into every process so I don't like having it on my dev machines where there is always that question of "Did this module I know nothing about have something to do with this memory corruption?". Maybe I'm just paranoid.
Jan 12, 2013 16:50
@chris, Would you mind sharing it? :D
Jan 12, 2013 16:49
@chris It's a great feeling isn't it? The only way I've been able to do it in Windows is with this.
Jan 12, 2013 02:47
@StackedCrooked I'm no Go expert, but if I recall they call it embedding, where you can composite multiple anonymous structs.