Skip to content
Snippets Groups Projects
Commit fb6f2aed authored by jcarpent's avatar jcarpent
Browse files

[C++][Doc] Change random to randomStringGenerator

parent 0d14e6d4
Branches
Tags
No related merge requests found
......@@ -18,11 +18,20 @@
#ifndef __se3_string_generator_hpp__
#define __se3_string_generator_hpp__
#include <iostream>
#include <string>
#include <cstdlib>
namespace se3
{
inline std::string random (const int len)
///
/// \brief Generate a random string composed of alphanumeric symbols of a given length.
///
/// \input len The length of the output string.
///
/// \returns a random string composed of alphanumeric symbols.
///
inline std::string randomStringGenerator(const int len)
{
std::string res;
static const char alphanum[] =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment