¡@

Home 

c++ Programming Glossary: functionality

How to debug heap corruption errors?

http://stackoverflow.com/questions/1010106/how-to-debug-heap-corruption-errors

answers in the past too although I was surprised how much functionality was in Application Verifier. electricfence dmalloc valgrind..

what is array decaying?

http://stackoverflow.com/questions/1461432/what-is-array-decaying

or with an explicit pointer to that array it has decayed functionality in that you lose the ability to call sizeof on that item because.. show the various techniques which don't maintain the full functionality of an array i.e. sizeof but instead lead to decay . share improve..

Why use pointers? [closed]

http://stackoverflow.com/questions/162941/why-use-pointers

else. It is either because the lack of appropriate functionality missing data types or for pure perfomance. More below... When..

When should you use 'friend' in C++?

http://stackoverflow.com/questions/17434/when-should-you-use-friend-in-c

In many situations you will have objects with data or functionality that are not intended to be called publicly available. This.. allows the designated class access to protected data or functionality within the class making the friend statement. For example in..

Weighted random numbers

http://stackoverflow.com/questions/1761626/weighted-random-numbers

up 3 4 chance to be picked up Does Boost have some sort of functionality for this c boost random share improve this question There..

pure virtual function with implementation

http://stackoverflow.com/questions/2089083/pure-virtual-function-with-implementation

their own work but also be able to call a common set of functionality. Note that even though it's permitted by the language it's not..

What is meant by Resource Acquisition is Initialization (RAII)?

http://stackoverflow.com/questions/2321511/what-is-meant-by-resource-acquisition-is-initialization-raii

as you don't need to mix error handling code with the main functionality. Update local may mean a local variable or a nonstatic member..

What do 'statically linked' and 'dynamically linked' mean?

http://stackoverflow.com/questions/311882/what-do-statically-linked-and-dynamically-linked-mean

by replacing the file on the disk. This allows updates to functionality without having to re link the code the loader re links every..

What is the copy-and-swap idiom?

http://stackoverflow.com/questions/3279543/what-is-the-copy-and-swap-idiom

work Conceptually it works by using the copy constructor's functionality to create a local copy of the data then takes the copied data.. sense to provide a swap function. We need to add swap functionality to our class and we do that as follows class dumb_array public.. and copying entire arrays. Aside from this bonus in functionality and efficiency we are now ready to implement the copy and swap..

When to use volatile with multi threading?

http://stackoverflow.com/questions/4557979/when-to-use-volatile-with-multi-threading

Some specific platforms however do add additional functionality or restrictions to what volatile does. For example in Windows..

What C++ Smart Pointer Implementations are available?

http://stackoverflow.com/questions/5026197/what-c-smart-pointer-implementations-are-available

use a boost shared_ptr std vector for similar functionality and to regain the ability to use boost weak_ptr for references...

Alternative to vector<bool>

http://stackoverflow.com/questions/670308/alternative-to-vectorbool

be treated as a c array. What is the best way to get this functionality So far the ideas I have thought of are Use a vector char instead.. How do you guys handle this problem I need the c_array functionality. As a side question if I don't need the c_array method what..

Subclass/inherit standard containers?

http://stackoverflow.com/questions/6806173/subclass-inherit-standard-containers

to use virtual destructor. If I want to extend add the functionality of a standard container then what is a better way than inheriting.. it is bad design. First you should always extend the functionality of standard containers through algorithms that operate generically...