전체보기
-
std::array<bool, N> 은 비트를 다루도록 특수화 되어있지 않음프로그래밍/c++ 2020. 12. 1. 12:33
std::vector은 내부적으로 bitset처럼 다뤄지도록 템플릿 특수화가 되어있다. std::vector - cppreference.com std::vector - cppreference.com template class vector ; std::vector is a possibly space-efficient specialization of std::vector for the type bool. The manner in which std::vector is made space efficient (as well as whether it is optimized at all) is implementation defined. One potential en.cppreference.com 그런데 std::ar..
-
-
코드 스멜(CODE SMELL)프로그래밍/기록, 개념, 용어 2020. 10. 29. 13:50
ko.wikipedia.org/wiki/%EC%BD%94%EB%93%9C_%EC%8A%A4%EB%A9%9C 코드 스멜 - 위키백과, 우리 모두의 백과사전 위키백과, 우리 모두의 백과사전. 둘러보기로 가기 검색하러 가기 코드 스멜(code smell←코드 냄새)은 컴퓨터 프로그래밍 코드에서 더 심오한 문제를 일으킬 가능성이 있는 프로그램 소스 코드의 ko.wikipedia.org 코드 스멜(code smell←코드 냄새)은 컴퓨터 프로그래밍 코드에서 더 심오한 문제를 일으킬 가능성이 있는 프로그램 소스 코드의 특징을 가리킨다.
-
Concepts프로그래밍/c++ 2020. 10. 20. 13:18
특정 함수 요구 샘플 #include #include #include template concept Serializable = requires(T v, std::ostream & is) { v.Serialize(is); }; template concept Deserializable = requires(T v, std::istream & is) { v.Deserialize(is); }; template concept Convertable = Serializable && Deserializable; template void Serialize(T& v) { } template < Deseriali..
-
-
[UE4]월드에 Player Start Actor가 있는데 Player Character가 스폰되지 않음프로그래밍/의문 2020. 9. 15. 15:20
플레이 모드가 시뮬레이트(Simulate)로 되어 있어서 스폰되지 않았다. 시뮬레이트 모드의 단축키가 Alt+S로 되어있어서, 나도 모르게 Alt+S를 눌렀던 거 같다. 아마 파일을 세이브 하던 버릇 때문에. 플레이 모드를 선택된 뷰포트(Selected Viewport)로 변경하자 정상적으로 스폰 되었다. 아래 글을 참고하였다. https://answers.unrealengine.com/questions/166517/player-start-not-working.html