Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

C++

Discuss C++
Views: 7,925 Announcement: You cannot reply to these posts
June 20th, 2007 msquared (Administrator)
Templates, Structs and Invalid Pointers - where did it go wrong
25 Replies | Posted by: DaveJ | Last post by courpron@gmail.com, Today
On 29 août, 01:31, Pete Becker <p...@versatilecoding.comwrote: Where's the reference to the appropriate section of the C++ standard ? If you don't... more »
Future of C++
67 Replies | Posted by: kwikius | Last post by coal@mailvault.com, Today
On Aug 15, 4:33 am, James Kanze <james.ka...@gmail.comwrote: Twenty years ago I think there was some truth to that. Increasingly though due to a... more »
Reference counting and API (const reference vs pointer oriented)
3 Replies | Posted by: mathieu | Last post by Juha Nieminen, Today
mathieu wrote: Yes: Implement a copy constructor and assignment operator in your reference-counting base class which do *not* copy the reference... more »
Re: Looking for 2D Physicengine
1 Reply | Posted by: Juha Nieminen | Last post by Rainer Heynke, Today
Juha Nieminen wrote: This Engine looks very good. Thank you. I love this video: http://files.slembcke.net/chipmunk/movies/sketches.mov more »
returned type of boost::bind && Address of a tmp object
3 Replies | Posted by: Giovanni Gherdovich | Last post by Giovanni Gherdovich, Today
Hello, thank you for your answers. Eric: gpd: I implemented my (wanna-be) callbacks as boost::function instead of function pointers, and the two... more »
Function functors?
3 Replies | Posted by: mlt | Last post by Kai-Uwe Bux, Today
mlt wrote: In that case, you might consider the following signature: template < typename Func > some_type do_stuff ( double a, double b, Func dist... more »
Would this be a valid use of inheritance?
3 Replies | Posted by: Juha Nieminen | Last post by Juha Nieminen, Today
While working on this, I ended up with this monstrosity of a line: typename Allocator::template rebind<size_t>::other(*this).deallocate(refCount,... more »
How to convert exe file of cgi script into .cgi extension.
2 Replies | Posted by: Muzammil | Last post by red floyd, Today
On Aug 28, 11:37 am, Muzammil <muzammilPeer...@gmail.comwrote: What is your C++ *LANGUAGE* question? more »
How to use reinterpret_cast in filling
6 Replies | Posted by: Husyn Raj | Last post by red floyd, Today
On Aug 28, 12:53 am, Muzammil <muzammilPeer...@gmail.comwrote: That's because the loop doesn't do what you think it does. See FAQ 15.5... more »
hash_map vs unordered_map
Post Reply? | Posted by: marek.vondrak@gmail.com | Last post by marek.vondrak@gmail.com, Today
Hi, I am wondering if there are any functional differences between SGI's hash_map and tr1's unordered_map. Can these two containers be interchanged?... more »
singleton template class
Post Reply? | Posted by: puzzlecracker | Last post by puzzlecracker, Today
Will this function is singleton or do I need to declare a ctor in the derived class as public, as well as copy-ctor and... more »
stringstream bin buffer to hex string conversion
2 Replies | Posted by: dominolog | Last post by dominolog, Today
On 28 Sie, 18:15, Obnoxious User <O...@127.0.0.1wrote: Oh, sorry. It is my "extension". They are simply namespace std { #ifdef _UNICODE typedef... more »
clear() vs destructor?
6 Replies | Posted by: Lambda | Last post by joseph cook, Today
On Aug 28, 12:48 pm, ytrem...@nyx.nyx.net (Yannick Tremblay) wrote: In fact, the opposite is true. It is "required" that memory not be released.... more »
Inheriting the Wrong Constructor
3 Replies | Posted by: AalaarDB@gmail.com | Last post by Victor Bazarov, Today
AalaarDB@gmail.com wrote: If you're looking for a particular answer, you're in the wrong place. Virtual base class subobjects are initialised by... more »
shared_ptr; derived classes; ambiguitity in overloaded functions
4 Replies | Posted by: Fokko Beekhof | Last post by Fokko Beekhof, Today
> That is quite impressive... Anyway, to conclude: - A solution to my problem is possible, - but it not in the specs of shared_ptr. - The specs of... more »
Re: THIS WORKS - IT'S BEEN PROVEN! LET'S MAKE THIS HAPPEN!
Post Reply? | Posted by: Juha Nieminen | Last post by Juha Nieminen, Today
Arm7 wrote: Haha. http://www.consumerfraudreporting.org/pyramidschemes_laws.htm more »
Big Endian - Little Endian
9 Replies | Posted by: Niranjan | Last post by dertopper@web.de, Today
On 27 Aug., 13:27, Niranjan <guruof...@gmail.comwrote: On 27 Aug., 19:37, Niranjan <guruof...@gmail.comwrote: The explicit cast is necessary to... more »
Is this kosher?
7 Replies | Posted by: Tim H | Last post by Paavo Helde, Today
Tim H <thockin@gmail.comkirjutas: Yeah, gpderetta is right. Just writing MyFunction1() this way requires the copy ctor to be available, meaning... more »
LNK2019 - Unresolved external symbol
Post Reply? | Posted by: repairman2003@gmail.com | Last post by repairman2003@gmail.com, Today
Here's where the linker is running into an issue: template <typename T> void Engine::setEventReceiver(T... more »
template function to accept vector and array
3 Replies | Posted by: utab | Last post by Jim Z. Shi, Today
then this? template<typename Iter> typename iterator_traits<Iter>::value_type median(Iter begin, Iter end) { typedef typename... more »
How to get single emails instead of digests
2 Replies | Posted by: Niranjan | Last post by Niranjan, Today
Thanks Everyone for your answers. Appreciate your comments. I will definately try to look into help pages. - Niranjan. On Aug 27, 2:51 pm, "Default... more »
How to invoke a member function pointer?
1 Reply | Posted by: Maximus | Last post by Victor Bazarov, Today
Maximus wrote: Well, 'funcA' is unknown without an object. If you intended to use the same 'funcA' that's defined in 'value3', then it ought to... more »
boolean expression checker/matcher
1 Reply | Posted by: sunil | Last post by kwikius, Yesterday
On Aug 27, 10:31 pm, sunil <sunilsreenivas2...@yahoo.comwrote: Its not really a C++ issue. Really its about grammar. For a vulgar American slang... more »
inline+virtual
5 Replies | Posted by: sunil | Last post by Pete Becker, Yesterday
On 2008-08-27 15:28:42 -0400, sunil <sunilsreenivas2001@yahoo.comsaid: But it will. The compiler has to do the right thing. It can generate the... more »
overload operator new with a spcialized memory manager instance
1 Reply | Posted by: Maximus | Last post by Pete Becker, Yesterday
On 2008-08-27 15:25:44 -0400, "Maximus" <maximus@microsoft.comsaid: void *operator new(size_t size, MemoryManager& m) { //... more »

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors