From 746336ed3d1d6048e1544fe969607c6d36cddc47 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Mon, 3 Oct 2005 07:31:16 +0000 Subject: [PATCH] Sacar el sign_type afuera. Y que??? --- src/number.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/number.h b/src/number.h index 28e853e..2048d57 100644 --- a/src/number.h +++ b/src/number.h @@ -10,6 +10,9 @@ #include #include +enum sign_type { positive, negative }; + + /* sizeof(E) tiene que ser 2*sizeof(N); y son los tipos nativos con los cuales * se haran las operaciones mas basicas. */ @@ -26,7 +29,6 @@ struct number // Tipos typedef N native_type; typedef E extended_type; - enum sign_type { positive, negative }; typedef typename std::deque< native_type > chunk_type; typedef typename chunk_type::size_type size_type; typedef typename chunk_type::iterator iterator; -- 2.43.0