File: main.cpp

package info (click to toggle)
mlpack 4.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 31,272 kB
  • sloc: cpp: 226,039; python: 1,934; sh: 1,198; lisp: 414; makefile: 85
file content (16 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// The purpose of this file is to include STB's implementation in two separate
// translation units.  One is a.cpp, and one is b.cpp.  This file simply
// includes both of those, so that when we get to the linking phase, we will
// have to link both translation units.
//
// Some versions of STB fail to correctly define some functions as
// static---which will cause a linking failure.  Thus, if this fails to
// compile, then mlpack's use of STB will fail.
#include "a.hpp"
#include "b.hpp"

int main()
{
  A::A();
  B::B();
}