File: eigenMemory.h

package info (click to toggle)
stopt 6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,264 kB
  • sloc: cpp: 75,778; python: 6,012; makefile: 72; sh: 57
file content (14 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _EIGENMEMORY_H
#define _EIGENMEMORY_H

#if EIGEN_ALIGN
void operator delete (void *ptr, std::size_t /* sz */) throw()
{
    Eigen::internal::conditional_aligned_free<NeedsToAlign>(ptr);
}
void operator delete[](void *ptr, std::size_t /* sz */) throw()
{
    Eigen::internal::conditional_aligned_free<NeedsToAlign>(ptr);
}
#endif
#endif /* _EIGENMEMORY_H */