File: cxx11-std-unique_ptr.cpp

package info (click to toggle)
innoextract 1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,252 kB
  • sloc: cpp: 12,229; python: 1,703; sh: 76; makefile: 9
file content (6 lines) | stat: -rw-r--r-- 86 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
#include <memory>

int main() {
	std::unique_ptr<char> ptr(new char);
	return !ptr;
}