[multi_index] Is it safe to use detail::scope_guard?

24 Apr
2006
24 Apr
'06
4:33 p.m.
Hi, there is a very nifty thing in multi_index details - the scope_guard. I'm using it but recently I noticed that it's not being used anywhere in the multi_index itself. Is it going to disappear any time soon?

24 Apr
24 Apr
8:54 p.m.
New subject: [boost] [multi_index] Is it safe to use detail::scope_guard?
Alexei Alexandrov <alexei.alexandrov <at> gmail.com> writes:
Hello Alexei, That utility is actually used, if very scarcely, in some places inside B.MI (grep for scope_guard), and there are no plans to remove it in the short term. Anyway, to be on the safe side you'd better copy & paste the code into a class of your own, probably inside a different namespace. Best, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
7001
Age (days ago)
7001
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexei Alexandrov
-
Joaquin M Lopez Munoz