aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex05/Brain.cpp
blob: 7ebf969106a4a410e516bee03213068881baf18a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   Brain.cpp                                          :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/02 12:47:24 by cacharle          #+#    #+#             */
/*   Updated: 2020/02/02 16:32:58 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "Brain.hpp"

std::string Brain::identify() const
{
	std::stringstream ss;
	ss << this;
	return "0x" + ss.str();
}