File: check-cxx11-std-unique_ptr.cpp

package info (click to toggle)
innoextract 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 964 kB
  • ctags: 1,421
  • sloc: cpp: 8,061; python: 1,544; makefile: 8
file content (6 lines) | stat: -rw-r--r-- 85 bytes parent folder | download
1
2
3
4
5
6
#include <memory>

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