ROOT / Athena standard problem with (nested) templates (map + set)

From: Alexander Mann <amann_at_uni-goettingen.de>
Date: Fri, 8 Jun 2012 11:12:18 +0200

Hi,

remind me, please: How can I use this in a ROOT macro:

std::map<unsigned int, std::set<unsigned int>* > var;

It works in ROOT 5.32.00, but as soon as Athena (17.5.0 -> ROOT: /afs/cern.ch/atlas/software/releases/17.5.0/LCGCMT/LCGCMT_62a/InstallArea/x86_64-slc5-gcc43-opt/bin/root) comes into the game, it spits out pages of error messages, starting with

AutoDict_map_unsigned_int_set_unsigned_int___less_unsigned_int__allocator_pair_const_unsigned_int_set_unsigned_int_______.cxx:2: error: 'set' is not a template
[...]

Full example attached. Any help appreciated.

cu
Alexander

PS: .L template_test.C+ works in both cases.

Received on Fri Jun 08 2012 - 11:12:26 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 08 2012 - 17:50:01 CEST