June 20th, 2007
msquared (Administrator)
|
Templates, Structs and Invalid Pointers - where did it go wrong
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++
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)
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
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
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?
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.
On Aug 28, 11:37 am, Muzammil <muzammilPeer...@gmail.comwrote:
What is your C++ *LANGUAGE* question? more »
|
|
How to use reinterpret_cast in filling
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
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
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
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?
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
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
>
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!
Arm7 wrote:
Haha.
http://www.consumerfraudreporting.org/pyramidschemes_laws.htm more »
|
|
Big Endian - Little Endian
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?
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
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
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
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?
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
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
On 2008-08-27 15:25:44 -0400, "Maximus" <maximus@microsoft.comsaid:
void *operator new(size_t size, MemoryManager& m)
{
//... more »
|
|