• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2    Copyright (c) Marshall Clow 2011-2012.
3 
4    Distributed under the Boost Software License, Version 1.0. (See accompanying
5    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 
7     For more information, see http://www.boost.org
8 */
9 
10 #include <boost/config.hpp>
11 #include <boost/algorithm/hex.hpp>
12 
13 #include <string>
14 #include <iostream>
15 #include <vector>
16 
17 //  should not compile: vector is not an integral type
main(int,char * [])18 int main( int , char* [] )
19 {
20   std::vector<float> v;
21   std::string out;
22   boost::algorithm::unhex ( out, std::back_inserter(v));
23 
24   return 0;
25 }
26