Removed unused parameter warning from doc_clone_ptr example.
Avoid being dependent on Boost.PP.
Removed some extra spaces.
Avoided GCC 4.9 regressions in C++14 mode

  see: https://gcc.gnu.org/PR63437

Signed-off-by: Kohei Takahashi <flast@flast.jp>