Fix a bug in std::fill_n where memset would end up being called in cases when it...
authorAnders Carlsson <andersca@mac.com>
Mon, 22 Jul 2013 21:08:00 +0000 (21:08 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 22 Jul 2013 21:08:00 +0000 (21:08 +0000)
commit8bb1dbbf7544eaac3afab8d1f91b71f383dab903
treee8ef051c1db393b5fbf0f51b68f7f19ae5634c65
parentc0659fad7fc6867bf5def77ab1940bc93551b368
Fix a bug in std::fill_n where memset would end up being called in cases when it shouldn’t.

Reviewed by Howard.

llvm-svn: 186875
libcxx/include/algorithm
libcxx/test/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp