/ CPP_Modules / CPP_Module_06 / ex00 / ScalarConverter.hpp
ScalarConverter.hpp
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   ScalarConverter.hpp                                :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: gychoi <gychoi@student.42seoul.kr>         +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2023/12/15 21:11:15 by gychoi            #+#    #+#             */
 9  /*   Updated: 2023/12/17 21:34:11 by gychoi           ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  #pragma once
14  #ifndef __SCALAR_CONVERTER_HPP__
15  #define __SCALAR_CONVERTER_HPP__
16  
17  #include <cstdlib>
18  #include <cstring>
19  #include <limits>
20  #include <iostream>
21  #include <stdexcept>
22  #include <string>
23  
24  class ScalarConverter
25  {
26  private:
27  	ScalarConverter();
28  	ScalarConverter(ScalarConverter const& target);
29  	ScalarConverter&	operator=(ScalarConverter const& target);
30  	~ScalarConverter();
31  
32  public:
33  	static void			convert(std::string const& literal);
34  };
35  
36  #endif /* __SCALAR_CONVERTER_HPP__ */