|
Boost Users : |
Subject: [Boost-users] [multi_index] How to use a class instead of a struct with the boost:multi_index_container?
From: jamaj (jamajbr_at_[hidden])
Date: 2010-11-14 18:21:02
Dear All,
I want to use a class instead of a struct to create a multi_index
container. But the example that comes with the documention
(basic.cpp) uses a struct.
Which changes (if there are any) must I make in order to use this
container with a class of objects, instead of with structs?
Thanks in advance.
Best Regards,
José Augusto Jr. (jamaj)
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