[llvm-commits] [PATCH] Object File Library
Rafael EspĂndola
rafael.espindola at gmail.com
Sun Nov 14 17:14:54 PST 2010
> I have no problem with that. The only thing I don't like about them
> currently is the super typedef macro I had to add to avoid adding 14
> lines of typedefs in each templated class :(.
Can you declare a base class with just those typedefs? You could then use
class foo : public ElfTypeDefs<target_endianness, is64bits>
> Oh, and I haven't decided how to add writing to
> packed_endian_specific_integral yet. Currently it's not possible
> (without reinterpret_cast).
np. Whatever the solution is (even explicit method calls) is something
that can be shared.
> - Michael Spencer
>
Cheers,
Rafael
More information about the llvm-commits
mailing list