Oh that's an easy one.

list<Spellbook> spellbooks;
where spellbook contains a list of spells (and by list I mean vector). It's also possible the first one might be a map... depends on how they are accessed. Haven't gone into any detail with those yet.

[edit] actually how it is written since you could have spellbooks that are empty and thus require no memory for.