Skip to content

Commit fe0c77a

Browse files
remove the ListInitialization stuff, this is C+11, we have initializer lists
1 parent b80d5df commit fe0c77a

3 files changed

Lines changed: 0 additions & 48 deletions

File tree

inst/include/Rcpp/internal/ListInitialization.h

Lines changed: 0 additions & 41 deletions
This file was deleted.

inst/include/Rcpp/vector/Vector.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,6 @@ class Vector :
140140
static inline stored_type get_na() { return traits::get_na<RTYPE>(); }
141141
static inline bool is_na( stored_type x){ return traits::is_na<RTYPE>(x); }
142142

143-
internal::ListInitialization<iterator,init_type> operator=( init_type x){
144-
iterator start = begin() ; *start = x;
145-
return internal::ListInitialization<iterator,init_type>( start + 1 ) ; ;
146-
}
147-
148-
149143
/**
150144
* the length of the vector, uses Rf_length
151145
*/

inst/include/RcppCommon.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ namespace Rcpp{
105105

106106
#include <Rcpp/internal/wrap.h>
107107

108-
#include <Rcpp/internal/ListInitialization.h>
109108
#include <Rcpp/internal/Proxy_Iterator.h>
110109
#include <Rcpp/internal/SEXP_Iterator.h>
111110
#include <Rcpp/internal/converter.h>

0 commit comments

Comments
 (0)