Skip to content

Instantly share code, notes, and snippets.

View phcerdan's full-sized avatar

Pablo Hernandez-Cerdan phcerdan

View GitHub Profile
@phcerdan
phcerdan / Move_DISALLOW_COPY_to_public_section.cpp
Created March 28, 2018 20:51 — forked from N-Dekker/Move_DISALLOW_COPY_to_public_section.cpp
The script used for "COMP: Moved ITK_DISALLOW_COPY_AND_ASSIGN calls to public section", http://review.source.kitware.com/#/c/23289/ on Visual C++ 2017
// Script to move ITK_DISALLOW_COPY_AND_ASSIGN calls to the public section
// of the classes.
//
// Niels Dekker, LKEB, Leiden University Medical center, 2018
// Discourse discussion: https://discourse.itk.org/t/noncopyable/648/24
// compiling:
// g++ Move_DISALLOW_COPY_to_public_section.cpp -lstdc++fs
// clang++ Move_DISALLOW_COPY_to_public_section.cpp -lstdc++fs
// Tested with: