Jared

United States

Oct
18
revised Is it possible to use std::sort with a sort function that takes extra arguments?
Bad code.
Oct
18
answered Is it possible to use std::sort with a sort function that takes extra arguments?
Oct
18
comment Is it possible to use std::sort with a sort function that takes extra arguments?
Could you punch out a quick example for something like this? I've never seen it used before.
Oct
18
comment Is it possible to use std::sort with a sort function that takes extra arguments?
11 is perfectly fine.
Oct
18
asked Is it possible to use std::sort with a sort function that takes extra arguments?
Oct
1
comment Creating a template class makes nullptr and NULL undeclared?
Well, it works now. Apparently -std=c++11 is preferred over -std=c++0x. Don't understand why. Also, Piotr's reasoning is pretty sound regarding NULL.
Oct
1
awarded Commentator
Oct
1
comment Creating a template class makes nullptr and NULL undeclared?
Using clang on Mac. C++11 is supported. LinkedList is aware of LinkedListNode. I've never had to include cstddef in order to use NULL before, but I tried your suggestion and it now compiles. I'm still wondering why it suddenly necessary this time and why nullptr still no longer works.
Oct
1
comment Creating a template class makes nullptr and NULL undeclared?
Added the LinkedListNode class declaration, which was causing the same issue. Also, I did try -std=c++0x with the same result. The fact that NULL is also unaccepted tells me something else is going on.
Oct
1
asked Creating a template class makes nullptr and NULL undeclared?
Sep
6
awarded Notable Question
Feb
19
awarded Popular Question
Sep
4
accepted Dynamically create controls based on solution folder content
Sep
3
asked Dynamically create controls based on solution folder content
May
10
accepted How would I increment a color value on MouseOver trigger in XAML template?
May
10
comment How would I increment a color value on MouseOver trigger in XAML template?
Well, this is a lot simpler than I thought it was going to be. I'm used to having to code a way for the control to revert to its original color, so this has been a pleasant surprise for me. Didn't know that XAML made this convenient for you. Thanks!
May
10
asked How would I increment a color value on MouseOver trigger in XAML template?
Feb
11
awarded Popular Question
Sep
14
comment "Clear" window to make room for new user controls?
Thanks! This is an excellent answer.
Sep
14
accepted "Clear" window to make room for new user controls?
1 2 3