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

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Tue Nov 1 10:06:59 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):

 > Well, in a large library like ours that isn't really the right thing to
 do. Instead I would expect a user to write #include
 <mlpack/methods/neighbor_search/neighbor_search.h> and only include what
 they need.

 I don't see the point in that, since any method they #include will
 #include core.h, and thus everything anyway.

-- 
Ticket URL: <https://trac.research.cc.gatech.edu/fastlab/ticket/155#comment:10>
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