[mlpack-svn] [MLPACK] #155: order of includes and include protections

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Mon Oct 31 18:23:11 EDT 2011


#155: order of includes and include protections
--------------------------------------------------+-------------------------
  Reporter:  nslagle                              |        Owner:     
      Type:  wishlist                             |       Status:  new
  Priority:  major                                |    Milestone:     
 Component:  MLPACK                               |   Resolution:     
  Keywords:  includes, templates, style, nitpick  |     Blocking:     
Blocked By:                                       |  
--------------------------------------------------+-------------------------

Comment (by jcline3):

 This feels like a solution looking for a problem. It seems entirely
 correct for our users to #include <mlpack> and nothing else. This
 shouldn't even be an issue.

 If you're worried about people adding to mlpack itself, they should just
 include our core.h, and that should pull in all the pieces they need. Any
 other includes they have would be for the things they are specifically
 working on, not features already in the library, which should be included
 via core.h.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/155#comment:7>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list