File: eigenMemory.h

package info (click to toggle)
stopt 5.12%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 8,860 kB
  • sloc: cpp: 70,456; python: 5,950; 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 */