Menu

isScalar and isEnum

Help
2007-04-11
2013-04-08
  • Nobody/Anonymous

    Hello

    I once had a loki version that contained noncc/MSVC/1200 and noncc/MSVC/1300 directories in which TypeTraits.h defined isScalar and isEnum: those two traits did not appear in the reference implementation and nowadays i can't find them in the last version.

    As a consequence I have two questions:
      . why isScalar and isEnum seem to have never been part of the reference implementation ?
      . why the noncc directory disappeared ? :)

    Regards.

     
    • Peter Kuemmel

      Peter Kuemmel - 2007-04-14

      > why isScalar and isEnum seem to have never
      > been part of the reference implementation ?

      I assume both were introduced when porting Loki to msvc 6/7.0,
      but only for the noncc code.
      But if you think it is a good idea to add such traits to
      the reference implementation, feel free to provide a patch ;)

      > why the noncc directory disappeared ? :)

      When packaging Loki I thought it is not used any more;
      you are the first one who complains about it.
      Also the code of the noncc isn't supported any more,
      the code is untouched since the the numbered Loki
      releases. So you could use the old one.

       
    • Nobody/Anonymous

      Hello, thank you for your reply

      Not that I'm complaining about the missing directories. I was just wondering if Loki's type traits collection would grow or not. But there are still boost type traits to use anyway (although the different workarounds used to make it work on various compilers make the implementation a bit obscure).

      Regards.

       

Log in to post a comment.