Boost logo

Boost Users :

Subject: [Boost-users] [interprocess] shared_memory_object design
From: Christian Henning (chhenning_at_[hidden])
Date: 2009-08-27 10:19:58


Hi there, a colleague of mine is questioning the design decisions in
the shared_memory_object class. The assignment operator and copy
constructor are private. Why? Also the constructor takes a type
instead of a value as the first parameter. In his eyes it makes it
very inflexible since the creation of or attaching to shared_memory
area has to known at compile time.

A few pointers on why such a design was chosen would be very helpful.

Regards,
Christian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net